Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | if_set |
struct | mif6ctl |
struct | mf6cctl |
struct | sioc_sg_req6 |
struct | sioc_mif_req6 |
struct | mrt6msg |
Macros | |
#define | MRT6_BASE 200 |
#define | MRT6_INIT (MRT6_BASE) /* Activate the kernel mroute code */ |
#define | MRT6_DONE (MRT6_BASE+1) /* Shutdown the kernel mroute */ |
#define | MRT6_ADD_MIF (MRT6_BASE+2) /* Add a virtual interface */ |
#define | MRT6_DEL_MIF (MRT6_BASE+3) /* Delete a virtual interface */ |
#define | MRT6_ADD_MFC (MRT6_BASE+4) /* Add a multicast forwarding entry */ |
#define | MRT6_DEL_MFC (MRT6_BASE+5) /* Delete a multicast forwarding entry */ |
#define | MRT6_VERSION (MRT6_BASE+6) /* Get the kernel multicast version */ |
#define | MRT6_ASSERT (MRT6_BASE+7) /* Activate PIM assert mode */ |
#define | MRT6_PIM (MRT6_BASE+8) /* enable PIM code */ |
#define | MRT6_TABLE (MRT6_BASE+9) /* Specify mroute table ID */ |
#define | SIOCGETMIFCNT_IN6 SIOCPROTOPRIVATE /* IP protocol privates */ |
#define | SIOCGETSGCNT_IN6 (SIOCPROTOPRIVATE+1) |
#define | SIOCGETRPF (SIOCPROTOPRIVATE+2) |
#define | MAXMIFS 32 |
#define | ALL_MIFS ((mifi_t)(-1)) |
#define | IF_SETSIZE 256 |
#define | NIFBITS (sizeof(if_mask) * 8) /* bits per mask */ |
#define | DIV_ROUND_UP(x, y) (((x) + ((y) - 1)) / (y)) |
#define | IF_SET(n, p) ((p)->ifs_bits[(n)/NIFBITS] |= (1 << ((n) % NIFBITS))) |
#define | IF_CLR(n, p) ((p)->ifs_bits[(n)/NIFBITS] &= ~(1 << ((n) % NIFBITS))) |
#define | IF_ISSET(n, p) ((p)->ifs_bits[(n)/NIFBITS] & (1 << ((n) % NIFBITS))) |
#define | IF_COPY(f, t) bcopy(f, t, sizeof(*(f))) |
#define | IF_ZERO(p) bzero(p, sizeof(*(p))) |
#define | MIFF_REGISTER 0x1 /* register vif */ |
#define | MRT6MSG_NOCACHE 1 |
#define | MRT6MSG_WRONGMIF 2 |
#define | MRT6MSG_WHOLEPKT 3 /* used for use level encap */ |
Typedefs | |
typedef unsigned long | mifbitmap_t |
typedef unsigned short | mifi_t |
typedef __u32 | if_mask |
typedef struct if_set | if_set |
#define SIOCGETMIFCNT_IN6 SIOCPROTOPRIVATE /* IP protocol privates */ |
#define SIOCGETRPF (SIOCPROTOPRIVATE+2) |
#define SIOCGETSGCNT_IN6 (SIOCPROTOPRIVATE+1) |
typedef unsigned long mifbitmap_t |