diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-08-30 03:48:57 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-30 03:48:57 -0400 |
| commit | 2fcf522509cceea524b6e7ece8fd6759b682175a (patch) | |
| tree | d356e87307e451cce5497ad8daeeeb047befe489 /include/linux/net.h | |
| parent | da61396d24e37258817e42537c482e962b4742f7 (diff) | |
| parent | 1fdab81e675c6ef76a49b8aabb7eaf4be51d1b80 (diff) | |
/spare/repo/libata-dev branch 'master'
Diffstat (limited to 'include/linux/net.h')
| -rw-r--r-- | include/linux/net.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 20cb226b2268..4e981585a89a 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
| @@ -84,6 +84,7 @@ enum sock_type { | |||
| 84 | SOCK_RAW = 3, | 84 | SOCK_RAW = 3, |
| 85 | SOCK_RDM = 4, | 85 | SOCK_RDM = 4, |
| 86 | SOCK_SEQPACKET = 5, | 86 | SOCK_SEQPACKET = 5, |
| 87 | SOCK_DCCP = 6, | ||
| 87 | SOCK_PACKET = 10, | 88 | SOCK_PACKET = 10, |
| 88 | }; | 89 | }; |
| 89 | 90 | ||
| @@ -282,5 +283,15 @@ static struct proto_ops name##_ops = { \ | |||
| 282 | #define MODULE_ALIAS_NETPROTO(proto) \ | 283 | #define MODULE_ALIAS_NETPROTO(proto) \ |
| 283 | MODULE_ALIAS("net-pf-" __stringify(proto)) | 284 | MODULE_ALIAS("net-pf-" __stringify(proto)) |
| 284 | 285 | ||
| 286 | #define MODULE_ALIAS_NET_PF_PROTO(pf, proto) \ | ||
| 287 | MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto)) | ||
| 288 | |||
| 289 | #ifdef CONFIG_SYSCTL | ||
| 290 | #include <linux/sysctl.h> | ||
| 291 | extern ctl_table net_table[]; | ||
| 292 | extern int net_msg_cost; | ||
| 293 | extern int net_msg_burst; | ||
| 294 | #endif | ||
| 295 | |||
| 285 | #endif /* __KERNEL__ */ | 296 | #endif /* __KERNEL__ */ |
| 286 | #endif /* _LINUX_NET_H */ | 297 | #endif /* _LINUX_NET_H */ |
