diff options
Diffstat (limited to 'include/linux/net.h')
-rw-r--r-- | include/linux/net.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 20cb226b2268..39906619b9d7 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
@@ -282,5 +282,8 @@ static struct proto_ops name##_ops = { \ | |||
282 | #define MODULE_ALIAS_NETPROTO(proto) \ | 282 | #define MODULE_ALIAS_NETPROTO(proto) \ |
283 | MODULE_ALIAS("net-pf-" __stringify(proto)) | 283 | MODULE_ALIAS("net-pf-" __stringify(proto)) |
284 | 284 | ||
285 | #define MODULE_ALIAS_NET_PF_PROTO(pf, proto) \ | ||
286 | MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto)) | ||
287 | |||
285 | #endif /* __KERNEL__ */ | 288 | #endif /* __KERNEL__ */ |
286 | #endif /* _LINUX_NET_H */ | 289 | #endif /* _LINUX_NET_H */ |