Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | vifctl |
struct | mfcctl |
struct | sioc_sg_req |
struct | sioc_vif_req |
struct | igmpmsg |
Macros | |
#define | MRT_BASE 200 |
#define | MRT_INIT (MRT_BASE) /* Activate the kernel mroute code */ |
#define | MRT_DONE (MRT_BASE+1) /* Shutdown the kernel mroute */ |
#define | MRT_ADD_VIF (MRT_BASE+2) /* Add a virtual interface */ |
#define | MRT_DEL_VIF (MRT_BASE+3) /* Delete a virtual interface */ |
#define | MRT_ADD_MFC (MRT_BASE+4) /* Add a multicast forwarding entry */ |
#define | MRT_DEL_MFC (MRT_BASE+5) /* Delete a multicast forwarding entry */ |
#define | MRT_VERSION (MRT_BASE+6) /* Get the kernel multicast version */ |
#define | MRT_ASSERT (MRT_BASE+7) /* Activate PIM assert mode */ |
#define | MRT_PIM (MRT_BASE+8) /* enable PIM code */ |
#define | MRT_TABLE (MRT_BASE+9) /* Specify mroute table ID */ |
#define | SIOCGETVIFCNT SIOCPROTOPRIVATE /* IP protocol privates */ |
#define | SIOCGETSGCNT (SIOCPROTOPRIVATE+1) |
#define | SIOCGETRPF (SIOCPROTOPRIVATE+2) |
#define | MAXVIFS 32 |
#define | ALL_VIFS ((vifi_t)(-1)) |
#define | VIFM_SET(n, m) ((m)|=(1<<(n))) |
#define | VIFM_CLR(n, m) ((m)&=~(1<<(n))) |
#define | VIFM_ISSET(n, m) ((m)&(1<<(n))) |
#define | VIFM_CLRALL(m) ((m)=0) |
#define | VIFM_COPY(mfrom, mto) ((mto)=(mfrom)) |
#define | VIFM_SAME(m1, m2) ((m1)==(m2)) |
#define | VIFF_TUNNEL 0x1 /* IPIP tunnel */ |
#define | VIFF_SRCRT 0x2 /* NI */ |
#define | VIFF_REGISTER 0x4 /* register vif */ |
#define | VIFF_USE_IFINDEX |
#define | MFC_ASSERT_THRESH (3*HZ) /* Maximal freq. of asserts */ |
#define | IGMPMSG_NOCACHE 1 /* Kern cache fill request to mrouted */ |
#define | IGMPMSG_WRONGVIF 2 /* For PIM assert processing (unused) */ |
#define | IGMPMSG_WHOLEPKT 3 /* For PIM Register processing */ |
Typedefs | |
typedef unsigned long | vifbitmap_t |
typedef unsigned short | vifi_t |
#define MFC_ASSERT_THRESH (3*HZ) /* Maximal freq. of asserts */ |
#define SIOCGETRPF (SIOCPROTOPRIVATE+2) |
#define SIOCGETSGCNT (SIOCPROTOPRIVATE+1) |
#define SIOCGETVIFCNT SIOCPROTOPRIVATE /* IP protocol privates */ |
#define VIFF_USE_IFINDEX |
typedef unsigned long vifbitmap_t |