#define NBP_HDR_SIZE 2
typedef struct at_nbp {
- unsigned control : 4,
- tuple_count : 4;
+#if BYTE_ORDER == BIG_ENDIAN
+ unsigned
+ control : 4,
+ tuple_count : 4;
+#endif
+#if BYTE_ORDER == LITTLE_ENDIAN
+ unsigned
+ tuple_count : 4,
+ control : 4;
+#endif
u_char at_nbp_id;
at_nbptuple_t tuple[NBP_TUPLE_MAX];
} at_nbp_t;
extern at_nvestr_t *getSPLocalZone(int);
extern at_nvestr_t *getLocalZone(int);
+struct at_ifaddr;
+void nbp_add_multicast( at_nvestr_t *, struct at_ifaddr *);
+void nbp_shutdown(void );
+
+int nbp_mh_reg(at_nbp_reg_t *);
+int nbp_new_nve_entry(nve_entry_t *, struct at_ifaddr *);
+void nbp_delete_entry(nve_entry_t *);
+
+
+
#endif /* KERNEL_PRIVATE */
#endif /* __APPLE_API_OBSOLETE */
#endif /* _NETAT_NBP_H_ */