/haiku/headers/private/net/ |
H A D | net_datalink_protocol.h | 12 typedef struct net_datalink_protocol { struct 13 struct net_datalink_protocol* next; argument 17 } net_datalink_protocol; argument 23 net_datalink_protocol** _protocol); 24 status_t (*uninit_protocol)(net_datalink_protocol* self); 26 status_t (*send_data)(net_datalink_protocol* self, net_buffer* buffer); 28 status_t (*interface_up)(net_datalink_protocol* self); 29 void (*interface_down)(net_datalink_protocol* self); 31 status_t (*change_address)(net_datalink_protocol* self, 36 status_t (*control)(net_datalink_protocol* self, int32 option, [all …]
|
H A D | net_datalink.h | 24 typedef struct net_datalink_protocol net_datalink_protocol; typedef
|
/haiku/src/add-ons/kernel/network/datalink_protocols/loopback_frame/ |
H A D | loopback_frame.cpp | 27 struct loopback_frame_protocol : net_datalink_protocol { 47 net_datalink_protocol** _protocol) in loopback_frame_init() 93 loopback_frame_uninit(net_datalink_protocol* protocol) in loopback_frame_uninit() 108 loopback_frame_send_data(net_datalink_protocol* protocol, net_buffer* buffer) in loopback_frame_send_data() 115 loopback_frame_up(net_datalink_protocol* protocol) in loopback_frame_up() 122 loopback_frame_down(net_datalink_protocol* protocol) in loopback_frame_down() 129 loopback_frame_change_address(net_datalink_protocol* protocol, in loopback_frame_change_address() 139 loopback_frame_control(net_datalink_protocol* protocol, int32 option, in loopback_frame_control() 148 loopback_frame_join_multicast(net_datalink_protocol* protocol, in loopback_frame_join_multicast() 156 loopback_frame_leave_multicast(net_datalink_protocol* protocol, in loopback_frame_leave_multicast()
|
/haiku/src/add-ons/kernel/network/ppp/ppp_frame/ |
H A D | ppp_frame.cpp | 22 struct ppp_frame_protocol : net_datalink_protocol { 40 net_datalink_protocol** _protocol) in ppp_frame_init() 79 ppp_frame_uninit(net_datalink_protocol* protocol) in ppp_frame_uninit() 91 ppp_frame_send_data(net_datalink_protocol* protocol, net_buffer* buffer) in ppp_frame_send_data() 99 ppp_frame_up(net_datalink_protocol* protocol) in ppp_frame_up() 108 ppp_frame_down(net_datalink_protocol* protocol) in ppp_frame_down() 117 ppp_frame_change_address(net_datalink_protocol* protocol, in ppp_frame_change_address() 189 ppp_frame_control(net_datalink_protocol* protocol, int32 option, in ppp_frame_control() 207 ppp_frame_join_multicast(net_datalink_protocol* protocol, in ppp_frame_join_multicast() 216 ppp_frame_leave_multicast(net_datalink_protocol* protocol, in ppp_frame_leave_multicast()
|
/haiku/src/add-ons/kernel/network/datalink_protocols/ethernet_frame/ |
H A D | ethernet_frame.cpp | 27 struct ethernet_frame_protocol : net_datalink_protocol { 101 net_datalink_protocol** _protocol) in ethernet_frame_init() 127 ethernet_frame_uninit(net_datalink_protocol* protocol) in ethernet_frame_uninit() 141 ethernet_frame_send_data(net_datalink_protocol* protocol, net_buffer* buffer) in ethernet_frame_send_data() 170 ethernet_frame_up(net_datalink_protocol* protocol) in ethernet_frame_up() 177 ethernet_frame_down(net_datalink_protocol* protocol) in ethernet_frame_down() 184 ethernet_frame_change_address(net_datalink_protocol* protocol, in ethernet_frame_change_address() 194 ethernet_frame_control(net_datalink_protocol* protocol, int32 option, in ethernet_frame_control() 203 ethernet_frame_join_multicast(net_datalink_protocol* protocol, in ethernet_frame_join_multicast() 211 ethernet_frame_leave_multicast(net_datalink_protocol* protocol, in ethernet_frame_leave_multicast()
|
/haiku/src/add-ons/kernel/network/datalink_protocols/ipv6_datagram/ |
H A D | ipv6_datagram.cpp | 47 struct ipv6_datalink_protocol : net_datalink_protocol { 106 net_datalink_protocol* protocol; 989 net_datalink_protocol** _protocol) in ipv6_datalink_init() 1011 ipv6_datalink_uninit(net_datalink_protocol* protocol) in ipv6_datalink_uninit() 1022 ipv6_datalink_send_data(net_datalink_protocol* _protocol, net_buffer* buffer) in ipv6_datalink_send_data() 1068 ipv6_datalink_up(net_datalink_protocol* _protocol) in ipv6_datalink_up() 1088 ipv6_datalink_down(net_datalink_protocol *protocol) in ipv6_datalink_down() 1098 ipv6_datalink_change_address(net_datalink_protocol* _protocol, in ipv6_datalink_change_address() 1161 ipv6_datalink_control(net_datalink_protocol* protocol, int32 op, void* argument, in ipv6_datalink_control() 1170 ipv6_datalink_join_multicast(net_datalink_protocol* protocol, in ipv6_datalink_join_multicast() [all …]
|
/haiku/src/add-ons/kernel/network/datalink_protocols/arp/ |
H A D | arp.cpp | 76 net_datalink_protocol *protocol; 110 struct arp_protocol : net_datalink_protocol { 974 net_datalink_protocol** _protocol) in arp_init_protocol() 1004 arp_uninit_protocol(net_datalink_protocol *protocol) in arp_uninit_protocol() 1017 arp_send_data(net_datalink_protocol *_protocol, net_buffer *buffer) in arp_send_data() 1072 arp_up(net_datalink_protocol* _protocol) in arp_up() 1092 arp_down(net_datalink_protocol *protocol) in arp_down() 1102 arp_change_address(net_datalink_protocol* _protocol, in arp_change_address() 1139 arp_control(net_datalink_protocol *_protocol, int32 op, void *argument, in arp_control() 1149 arp_join_multicast(net_datalink_protocol *protocol, const sockaddr *address) in arp_join_multicast() [all …]
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | datalink.cpp | 47 struct interface_protocol : net_datalink_protocol { 670 net_datalink_protocol** _protocol) in interface_protocol_init() 688 interface_protocol_uninit(net_datalink_protocol* protocol) in interface_protocol_uninit() 698 interface_protocol_send_data(net_datalink_protocol* _protocol, in interface_protocol_send_data() 717 interface_protocol_up(net_datalink_protocol* protocol) in interface_protocol_up() 725 interface_protocol_down(net_datalink_protocol* _protocol) in interface_protocol_down() 748 interface_protocol_change_address(net_datalink_protocol* protocol, in interface_protocol_change_address() 771 interface_protocol_control(net_datalink_protocol* _protocol, int32 option, in interface_protocol_control() 1007 interface_protocol_join_multicast(net_datalink_protocol* _protocol, in interface_protocol_join_multicast() 1017 interface_protocol_leave_multicast(net_datalink_protocol* _protocol, in interface_protocol_leave_multicast()
|
H A D | stack.cpp | 512 net_datalink_protocol* protocol = datalink->first_protocol; in uninit_domain_datalink_protocols() 514 net_datalink_protocol* next = protocol->next; in uninit_domain_datalink_protocols() 554 net_datalink_protocol* last = NULL; in get_domain_datalink_protocols() 557 net_datalink_protocol* protocol; in get_domain_datalink_protocols()
|
H A D | interfaces.h | 76 struct net_datalink_protocol* first_protocol;
|
/haiku/docs/develop/net/ |
H A D | NetworkStackOverview.rst | 36 framing are net_datalink_protocol modules. All modules are connected in 169 protocol is usually registered automatically by a net_datalink_protocol 174 net_datalink_protocol chapter
|