Linux Kernel
3.7.1
|
#include <linux/in6.h>
Go to the source code of this file.
Data Structures | |
struct | net_protocol |
struct | inet_protosw |
Macros | |
#define | MAX_INET_PROTOS 256 |
#define | INET_PROTOSW_REUSE 0x01 /* Are ports automatically reusable? */ |
#define | INET_PROTOSW_PERMANENT 0x02 /* Permanent protocols are unremovable. */ |
#define | INET_PROTOSW_ICSK 0x04 /* Is this an inet_connection_sock? */ |
Functions | |
int | inet_add_protocol (const struct net_protocol *prot, unsigned char num) |
int | inet_del_protocol (const struct net_protocol *prot, unsigned char num) |
void | inet_register_protosw (struct inet_protosw *p) |
void | inet_unregister_protosw (struct inet_protosw *p) |
Variables | |
struct net_protocol __rcu * | inet_protos [MAX_INET_PROTOS] |
#define INET_PROTOSW_ICSK 0x04 /* Is this an inet_connection_sock? */ |
Definition at line 96 of file protocol.h.
#define INET_PROTOSW_PERMANENT 0x02 /* Permanent protocols are unremovable. */ |
Definition at line 95 of file protocol.h.
#define INET_PROTOSW_REUSE 0x01 /* Are ports automatically reusable? */ |
Definition at line 94 of file protocol.h.
#define MAX_INET_PROTOS 256 |
Definition at line 36 of file protocol.h.
int inet_add_protocol | ( | const struct net_protocol * | prot, |
unsigned char | num | ||
) |
Definition at line 37 of file protocol.c.
int inet_del_protocol | ( | const struct net_protocol * | prot, |
unsigned char | num | ||
) |
Definition at line 48 of file protocol.c.
void inet_register_protosw | ( | struct inet_protosw * | p | ) |
void inet_unregister_protosw | ( | struct inet_protosw * | p | ) |
struct net_protocol __rcu* inet_protos[MAX_INET_PROTOS] |