#include <inet.h>Functions | |
| const struct s_protosw * | find_in_proto (int type, int protocol) |
Variables | |
| const struct s_protosw | inetsw [] |
|
||||||||||||
|
|
|
|
Initial value:
{
{ SOCK_DGRAM, IPPROTO_UDP,
udp_attach, udp_detach,
udp_bind, udp_connect,
udp_send, udp_recv,
NULL, NULL,
udp_getsockname, udp_getpeername,
udp_poll },
{ SOCK_RAW, IPPROTO_ICMP,
icmp_attach, icmp_detach,
NULL, NULL,
icmp_send, icmp_recv,
NULL, NULL,
NULL, NULL,
NULL },
{ SOCK_STREAM, IPPROTO_TCP,
tcp_attach, tcp_detach,
tcp_bind, tcp_connect,
tcp_send, tcp_recv,
tcp_listen, tcp_accept,
tcp_getsockname, tcp_getpeername,
tcp_poll }
}
|
1.4.6