Home
last modified time | relevance | path

Searched defs:protocol (Results 1 – 25 of 71) sorted by relevance

123

/haiku/src/add-ons/kernel/network/protocols/icmp6/
H A Dicmp6.cpp45 net_protocol *protocol = new (std::nothrow) net_protocol; in icmp6_init_protocol() local
54 icmp6_uninit_protocol(net_protocol *protocol) in icmp6_uninit_protocol()
62 icmp6_open(net_protocol *protocol) in icmp6_open()
69 icmp6_close(net_protocol *protocol) in icmp6_close()
76 icmp6_free(net_protocol *protocol) in icmp6_free()
83 icmp6_connect(net_protocol *protocol, const struct sockaddr *address) in icmp6_connect()
90 icmp6_accept(net_protocol *protocol, struct net_socket **_acceptedSocket) in icmp6_accept()
97 icmp6_control(net_protocol *protocol, int level, int option, void *value, in icmp6_control()
106 icmp6_getsockopt(net_protocol *protocol, int level, int option, in icmp6_getsockopt()
115 icmp6_setsockopt(net_protocol *protocol, int level, int option, in icmp6_setsockopt()
[all …]
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap.cpp44 L2capEndpoint* protocol = new(std::nothrow) L2capEndpoint(socket); in l2cap_init_protocol() local
53 l2cap_uninit_protocol(net_protocol* protocol) in l2cap_uninit_protocol()
65 l2cap_open(net_protocol* protocol) in l2cap_open()
72 l2cap_close(net_protocol* protocol) in l2cap_close()
79 l2cap_free(net_protocol* protocol) in l2cap_free()
86 l2cap_connect(net_protocol* protocol, const struct sockaddr* address) in l2cap_connect()
93 l2cap_accept(net_protocol* protocol, struct net_socket** _acceptedSocket) in l2cap_accept()
100 l2cap_control(net_protocol* protocol, int level, int option, void* value, in l2cap_control()
109 l2cap_getsockopt(net_protocol* protocol, int level, int option, in l2cap_getsockopt()
119 l2cap_setsockopt(net_protocol* protocol, int level, int option, in l2cap_setsockopt()
[all …]
/haiku/src/add-ons/kernel/network/datalink_protocols/loopback_frame/
H A Dloopback_frame.cpp52 loopback_frame_protocol* protocol; in loopback_frame_init() local
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/stack/
H A Dlink.cpp256 LinkProtocol* protocol = (LinkProtocol*)monitor->cookie; in _MonitorEvent() local
273 LinkProtocol* protocol = (LinkProtocol*)cookie; in _ReceiveData() local
300 LinkProtocol* protocol = new (std::nothrow) LinkProtocol(socket); in link_init_protocol() local
311 link_uninit_protocol(net_protocol* protocol) in link_uninit_protocol()
319 link_open(net_protocol* protocol) in link_open()
326 link_close(net_protocol* protocol) in link_close()
333 link_free(net_protocol* protocol) in link_free()
340 link_connect(net_protocol* protocol, const struct sockaddr* address) in link_connect()
347 link_accept(net_protocol* protocol, struct net_socket** _acceptedSocket) in link_accept()
357 LinkProtocol* protocol = (LinkProtocol*)_protocol; in link_control() local
[all …]
H A Ddatalink.cpp425 datalink_send_data(net_protocol* protocol, net_domain* domain, in datalink_send_data()
672 interface_protocol* protocol = new(std::nothrow) interface_protocol; in interface_protocol_init() local
688 interface_protocol_uninit(net_datalink_protocol* protocol) in interface_protocol_uninit()
703 interface_protocol* protocol = (interface_protocol*)_protocol; in interface_protocol_send_data() local
717 interface_protocol_up(net_datalink_protocol* protocol) in interface_protocol_up()
729 interface_protocol* protocol = (interface_protocol*)_protocol; in interface_protocol_down() local
748 interface_protocol_change_address(net_datalink_protocol* protocol, in interface_protocol_change_address()
777 interface_protocol* protocol = (interface_protocol*)_protocol; in interface_protocol_control() local
1010 interface_protocol* protocol = (interface_protocol*)_protocol; in interface_protocol_join_multicast() local
1020 interface_protocol* protocol = (interface_protocol*)_protocol; in interface_protocol_leave_multicast() local
H A Dstack.cpp51 int protocol; member
94 int protocol; member
335 chain::Lookup(ChainTable* chains, int family, int type, int protocol) in Lookup()
343 chain::Add(ChainTable* chains, int family, int type, int protocol, in Add()
385 chain::Add(ChainTable* chains, int family, int type, int protocol, ...) in Add()
418 net_protocol* protocol = socket->first_protocol; in uninit_domain_protocols() local
458 net_protocol* protocol = in get_domain_protocols() local
512 net_datalink_protocol* protocol = datalink->first_protocol; in uninit_domain_datalink_protocols() local
557 net_datalink_protocol* protocol; in get_domain_datalink_protocols() local
657 register_domain_protocols(int family, int type, int protocol, ...) in register_domain_protocols()
/haiku/src/add-ons/kernel/network/ppp/ppp_frame/
H A Dppp_frame.cpp47 ppp_frame_protocol* protocol; in ppp_frame_init() local
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/protocols/tcp/
H A Dtcp.cpp480 TCPEndpoint* protocol = new (std::nothrow) TCPEndpoint(socket); in tcp_init_protocol() local
496 tcp_uninit_protocol(net_protocol* protocol) in tcp_uninit_protocol()
505 tcp_open(net_protocol* protocol) in tcp_open()
512 tcp_close(net_protocol* protocol) in tcp_close()
519 tcp_free(net_protocol* protocol) in tcp_free()
527 tcp_connect(net_protocol* protocol, const struct sockaddr* address) in tcp_connect()
534 tcp_accept(net_protocol* protocol, struct net_socket** _acceptedSocket) in tcp_accept()
544 TCPEndpoint* protocol = (TCPEndpoint*)_protocol; in tcp_control() local
560 TCPEndpoint* protocol = (TCPEndpoint*)_protocol; in tcp_getsockopt() local
574 TCPEndpoint* protocol = (TCPEndpoint*)_protocol; in tcp_setsockopt() local
[all …]
/haiku/src/add-ons/kernel/network/protocols/icmp/
H A Dicmp.cpp251 icmp_protocol* protocol = new(std::nothrow) icmp_protocol; in icmp_init_protocol() local
260 icmp_uninit_protocol(net_protocol* protocol) in icmp_uninit_protocol()
268 icmp_open(net_protocol* protocol) in icmp_open()
275 icmp_close(net_protocol* protocol) in icmp_close()
282 icmp_free(net_protocol* protocol) in icmp_free()
289 icmp_connect(net_protocol* protocol, const struct sockaddr* address) in icmp_connect()
296 icmp_accept(net_protocol* protocol, struct net_socket** _acceptedSocket) in icmp_accept()
303 icmp_control(net_protocol* protocol, int level, int option, void* value, in icmp_control()
312 icmp_getsockopt(net_protocol* protocol, int level, int option, void* value, in icmp_getsockopt()
321 icmp_setsockopt(net_protocol* protocol, int level, int option, in icmp_setsockopt()
[all …]
/haiku/src/add-ons/kernel/network/datalink_protocols/ethernet_frame/
H A Dethernet_frame.cpp116 ethernet_frame_protocol* protocol in ethernet_frame_init() local
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/protocols/ipv6/
H A Dipv6.cpp45 #define TRACE_SK(protocol, format, args...) \ argument
83 uint32 protocol; member
612 send_fragments(ipv6_protocol* protocol, struct net_route* route, in send_fragments()
853 receiving_protocol(uint8 protocol) in receiving_protocol()
889 ipv6_delta_membership(ipv6_protocol* protocol, int option, in ipv6_delta_membership()
920 ipv6_delta_membership(ipv6_protocol* protocol, int option, in ipv6_delta_membership()
968 ipv6_protocol* protocol = new (std::nothrow) ipv6_protocol(); in ipv6_init_protocol() local
986 ipv6_protocol* protocol = (ipv6_protocol*)_protocol; in ipv6_uninit_protocol() local
999 ipv6_protocol* protocol = (ipv6_protocol*)_protocol; in ipv6_open() local
1024 ipv6_protocol* protocol = (ipv6_protocol*)_protocol; in ipv6_close() local
[all …]
H A Dipv6_utils.h39 uint16 length, uint16 protocol, in ipv6_checksum()
/haiku/src/add-ons/kernel/network/protocols/ipv4/
H A Dipv4.cpp42 # define TRACE_SK(protocol, format, args...) \ argument
68 uint8 protocol; member
606 send_fragments(ipv4_protocol* protocol, struct net_route* route, in send_fragments()
724 net_protocol* protocol = ipProtocol; in deliver_multicast() local
860 receiving_protocol(uint8 protocol) in receiving_protocol()
936 ipv4_delta_membership(ipv4_protocol* protocol, int option, in ipv4_delta_membership()
997 get_multicast_interface(ipv4_protocol* protocol, const in_addr* address) in get_multicast_interface()
1011 ipv4_delta_membership(ipv4_protocol* protocol, int option, in ipv4_delta_membership()
1033 ipv4_generic_delta_membership(ipv4_protocol* protocol, int option, in ipv4_generic_delta_membership()
1068 ipv4_protocol* protocol = new (std::nothrow) ipv4_protocol(); in ipv4_init_protocol() local
[all …]
/haiku/src/add-ons/mail_daemon/inbound_filters/match_header/
H A DRuleFilter.cpp32 RuleFilter::RuleFilter(BMailProtocol& protocol, in RuleFilter()
104 BInboundMailProtocol& protocol in HeaderFetched() local
139 instantiate_filter(BMailProtocol& protocol, const BMailAddOnSettings& settings) in instantiate_filter()
/haiku/src/add-ons/kernel/network/protocols/udp/
H A Dudp.cpp1147 udp_uninit_protocol(net_protocol *protocol) in udp_uninit_protocol()
1155 udp_open(net_protocol *protocol) in udp_open()
1162 udp_close(net_protocol *protocol) in udp_close()
1169 udp_free(net_protocol *protocol) in udp_free()
1176 udp_connect(net_protocol *protocol, const struct sockaddr *address) in udp_connect()
1183 udp_accept(net_protocol *protocol, struct net_socket **_acceptedSocket) in udp_accept()
1190 udp_control(net_protocol *protocol, int level, int option, void *value, in udp_control()
1199 udp_getsockopt(net_protocol *protocol, int level, int option, void *value, in udp_getsockopt()
1208 udp_setsockopt(net_protocol *protocol, int level, int option, in udp_setsockopt()
1217 udp_bind(net_protocol *protocol, const struct sockaddr *address) in udp_bind()
[all …]
/haiku/src/add-ons/kernel/network/datalink_protocols/arp/
H A Darp.cpp76 net_datalink_protocol *protocol; member
431 arp_set_local_entry(arp_protocol* protocol, const sockaddr* local) in arp_set_local_entry()
473 arp_remove_local_entry(arp_protocol* protocol, const sockaddr* local, in arp_remove_local_entry()
524 arp_remove_local(arp_protocol* protocol) in arp_remove_local()
542 arp_update_local(arp_protocol* protocol) in arp_update_local()
770 arp_start_resolve(arp_protocol* protocol, in_addr_t address, arp_entry** _entry) in arp_start_resolve()
991 arp_protocol* protocol = new(std::nothrow) arp_protocol; in arp_init_protocol() local
1004 arp_uninit_protocol(net_datalink_protocol *protocol) in arp_uninit_protocol()
1019 arp_protocol *protocol = (arp_protocol *)_protocol; in arp_send_data() local
1074 arp_protocol* protocol = (arp_protocol*)_protocol; in arp_up() local
[all …]
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPInterface.cpp250 KPPPProtocol *protocol = FirstProtocol(); in ~KPPPInterface() local
656 KPPPProtocol *protocol = ProtocolAt(controlInfo->index); in Control() local
885 KPPPProtocol *protocol = ProtocolAt(control->index); in Control() local
1002 KPPPInterface::AddProtocol(KPPPProtocol *protocol) in AddProtocol()
1073 KPPPInterface::RemoveProtocol(KPPPProtocol *protocol) in RemoveProtocol()
1121 KPPPProtocol *protocol = FirstProtocol(); in CountProtocols() local
1137 KPPPProtocol *protocol = FirstProtocol(); in ProtocolAt() local
1581 KPPPProtocol *protocol = ProtocolFor(protocolNumber); in Send() local
1714 KPPPProtocol *protocol = ProtocolFor(protocolNumber); in Receive() local
1817 KPPPProtocol *protocol = FirstProtocol(); in Pulse() local
[all …]
H A DKPPPStateMachine.cpp461 KPPPStateMachine::UpFailedEvent(KPPPProtocol *protocol) in UpFailedEvent()
488 KPPPStateMachine::UpEvent(KPPPProtocol *protocol) in UpEvent()
503 KPPPStateMachine::DownEvent(KPPPProtocol *protocol) in DownEvent()
1634 KPPPProtocol *protocol = Interface().FirstProtocol(); in RXJEvent() local
1961 KPPPProtocol *protocol = Interface().FirstProtocol(); in BringPhaseUp() local
1988 KPPPProtocol *protocol = Interface().FirstProtocol(); in DownProtocols() local
/haiku/src/tests/system/network/tcp_shell/
H A Dtcp_shell.cpp178 register_domain_protocols(int family, int type, int protocol, ...) in register_domain_protocols()
277 socket_create(int family, int type, int protocol, net_socket **_socket) in socket_create()
731 close_protocol(net_protocol* protocol) in close_protocol()
761 datalink_send_datagram(net_protocol *protocol, net_domain *domain, in datalink_send_datagram()
827 domain_open(net_protocol *protocol) in domain_open()
834 domain_close(net_protocol *protocol) in domain_close()
841 domain_free(net_protocol *protocol) in domain_free()
848 domain_connect(net_protocol *protocol, const struct sockaddr *address) in domain_connect()
855 domain_accept(net_protocol *protocol, struct net_socket **_acceptedSocket) in domain_accept()
862 domain_control(net_protocol *protocol, int level, int option, void *value, in domain_control()
[all …]
/haiku/src/add-ons/kernel/network/datalink_protocols/ipv6_datagram/
H A Dipv6_datagram.cpp106 net_datalink_protocol* protocol; member
500 ndp_remove_local_entry(ipv6_datalink_protocol* protocol, const sockaddr* local, in ndp_remove_local_entry()
560 ndp_remove_local(ipv6_datalink_protocol* protocol) in ndp_remove_local()
574 ndp_set_local_entry(ipv6_datalink_protocol* protocol, const sockaddr* local) in ndp_set_local_entry()
636 ndp_update_local(ipv6_datalink_protocol* protocol) in ndp_update_local()
897 ndp_start_resolve(ipv6_datalink_protocol* protocol, const in6_addr& address, in ndp_start_resolve()
999 ipv6_datalink_protocol* protocol = new(std::nothrow) ipv6_datalink_protocol; in ipv6_datalink_init() local
1011 ipv6_datalink_uninit(net_datalink_protocol* protocol) in ipv6_datalink_uninit()
1024 ipv6_datalink_protocol* protocol = (ipv6_datalink_protocol*)_protocol; in ipv6_datalink_send_data() local
1070 ipv6_datalink_protocol* protocol = (ipv6_datalink_protocol*)_protocol; in ipv6_datalink_up() local
[all …]
/haiku/src/add-ons/mail_daemon/outbound_filters/fortune/
H A DFortuneFilter.cpp40 FortuneFilter::FortuneFilter(BMailProtocol& protocol, in FortuneFilter()
107 instantiate_filter(BMailProtocol& protocol, in instantiate_filter()
/haiku/src/add-ons/mail_daemon/inbound_filters/notifier/
H A DNotifierFilter.cpp46 NotifyFilter::NotifyFilter(BMailProtocol& protocol, in NotifyFilter()
134 instantiate_filter(BMailProtocol& protocol, const BMailAddOnSettings& settings) in instantiate_filter()
/haiku/src/add-ons/kernel/network/protocols/unix/
H A Dunix.cpp133 unix_control(net_protocol *protocol, int level, int option, void *value, in unix_control()
141 unix_getsockopt(net_protocol *protocol, int level, int option, void *value, in unix_getsockopt()
161 unix_setsockopt(net_protocol *protocol, int level, int option, in unix_setsockopt()
250 unix_get_domain(net_protocol *protocol) in unix_get_domain()
257 unix_get_mtu(net_protocol *protocol, const struct sockaddr *address) in unix_get_mtu()
285 unix_error_reply(net_protocol *protocol, net_buffer *cause, net_error error, in unix_error_reply()
/haiku/src/add-ons/media/plugins/dvd_streamer/
H A DDVDStreamerPlugin.cpp34 BString protocol = url.Protocol(); in Sniff() local
/haiku/src/servers/mail/
H A DMailDaemonApplication.cpp65 InboundMessenger(BInboundMailProtocol* protocol) in InboundMessenger()
245 BInboundMailProtocol* protocol = _InboundProtocol(account); in RefsReceived() local
299 BInboundMailProtocol* protocol = _InboundProtocol(account); in MessageReceived() local
479 BInboundMailProtocol* protocol = _InboundProtocol(account); in GetNewMessages() local
489 BInboundMailProtocol* protocol = iterator->second.inboundProtocol; in GetNewMessages() local
555 BOutboundMailProtocol* protocol = _OutboundProtocol(iterator->first); in SendPendingMessages() local

123