Annotation of Gnu-Mach/i386/i386at/gpl/linux/include/net/netlink.h, revision 1.1

1.1     ! root        1: #ifndef __NET_NETLINK_H
        !             2: #define __NET_NETLINK_H
        !             3: 
        !             4: #define NET_MAJOR 36           /* Major 18 is reserved for networking                                          */
        !             5: #define MAX_LINKS 4            /* 18,0 for route updates, 18,1 for SKIP, 18,2 debug tap 18,3 PPP reserved      */
        !             6: #define MAX_QBYTES 32768       /* Maximum bytes in the queue                                                   */
        !             7: 
        !             8: #include <linux/config.h>
        !             9: 
        !            10: extern int netlink_attach(int unit, int (*function)(struct sk_buff *skb));
        !            11: extern int netlink_donothing(struct sk_buff *skb);
        !            12: extern void netlink_detach(int unit);
        !            13: extern int netlink_post(int unit, struct sk_buff *skb);
        !            14: extern int init_netlink(void);
        !            15: 
        !            16: #define NETLINK_ROUTE          0       /* Routing/device hook                          */
        !            17: #define NETLINK_SKIP           1       /* Reserved for ENskip                          */
        !            18: #define NETLINK_USERSOCK       2       /* Reserved for user mode socket protocols      */
        !            19: #define NETLINK_FIREWALL       3       /* Firewalling hook                             */
        !            20: 
        !            21: #ifdef CONFIG_RTNETLINK
        !            22: extern void ip_netlink_msg(unsigned long, __u32, __u32, __u32, short, short, char *);
        !            23: #else
        !            24: #define ip_netlink_msg(a,b,c,d,e,f,g)
        !            25: #endif
        !            26: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.