aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/feat.c
Commit message (Expand)AuthorAge
* dccp: return -EINVAL on invalid feature lengthChris Wright2008-05-05
* [DCCP]: Make code assumptions explicitGerrit Renker2008-01-28
* [DCCP]: Remove unused and redundant validation functionsGerrit Renker2008-01-28
* [DCCP]: fix memory leak and clean up style - dccp_feat_empty_confirm()Jesper Juhl2007-08-14
* [NET] DCCP: Fix whitespace errors.YOSHIFUJI Hideaki2007-02-11
* [DCCP]: Whitespace cleanupsArnaldo Carvalho de Melo2006-12-11
* [DCCP]: Simplified conditions due to use of enum:8 statesGerrit Renker2006-12-03
* [DCCP]: Use kmemdupArnaldo Carvalho de Melo2006-12-03
* [DCCP]: Make feature negotiation more readableGerrit Renker2006-12-03
* Remove obsolete #include <linux/config.h>Jörn Engel2006-06-30
* [DCCP]: Use NULL for pointers, comfort sparse.Randy Dunlap2006-03-29
* [DCCP] feat: Pass dccp_minisock ptr where only the minisock is usedArnaldo Carvalho de Melo2006-03-21
* [DCCP] minisock: Rename struct dccp_options to struct dccp_minisockArnaldo Carvalho de Melo2006-03-21
* [DCCP] feat: Actually change the CCID upon negotiationAndrea Bittau2006-03-20
* [DCCP]: Initial feature negotiation implementationAndrea Bittau2006-03-20
e INET6_PROTO_FINAL 0x2 #endif /* This is used to register socket interfaces for IP protocols. */ struct inet_protosw { struct list_head list; /* These two fields form the lookup key. */ unsigned short type; /* This is the 2nd argument to socket(2). */ int protocol; /* This is the L4 protocol number. */ struct proto *prot; const struct proto_ops *ops; int capability; /* Which (if any) capability do * we need to use this socket * interface? */ char no_check; /* checksum on rcv/xmit/none? */ unsigned char flags; /* See INET_PROTOSW_* below. */ }; #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? */ extern struct net_protocol *inet_protocol_base; extern struct net_protocol *inet_protos[MAX_INET_PROTOS]; #if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE) extern struct inet6_protocol *inet6_protos[MAX_INET_PROTOS]; #endif extern int inet_add_protocol(struct net_protocol *prot, unsigned char num); extern int inet_del_protocol(struct net_protocol *prot, unsigned char num); extern void inet_register_protosw(struct inet_protosw *p); extern void inet_unregister_protosw(struct inet_protosw *p); #if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE) extern int inet6_add_protocol(struct inet6_protocol *prot, unsigned char num); extern int inet6_del_protocol(struct inet6_protocol *prot, unsigned char num); extern void inet6_register_protosw(struct inet_protosw *p); extern void inet6_unregister_protosw(struct inet_protosw *p); #endif #endif /* _PROTOCOL_H */