stp.h 344 B

123456789101112131415
  1. #ifndef _NET_STP_H
  2. #define _NET_STP_H
  3. struct stp_proto {
  4. unsigned char group_address[ETH_ALEN];
  5. void (*rcv)(const struct stp_proto *, struct sk_buff *,
  6. struct net_device *);
  7. void *data;
  8. };
  9. int stp_proto_register(const struct stp_proto *proto);
  10. void stp_proto_unregister(const struct stp_proto *proto);
  11. #endif /* _NET_STP_H */