ip_lookup.h (170263) | ip_lookup.h (172771) |
---|---|
1 2#ifndef __IP_LOOKUP_H__ 3#define __IP_LOOKUP_H__ 4 5#if defined(__STDC__) || defined(__GNUC__) || defined(_AIX51) 6# define SIOCLOOKUPADDTABLE _IOWR('r', 60, struct iplookupop) 7# define SIOCLOOKUPDELTABLE _IOWR('r', 61, struct iplookupop) 8# define SIOCLOOKUPSTAT _IOWR('r', 64, struct iplookupop) --- 50 unchanged lines hidden (view full) --- 59#define IPLT_ANON 0x80000000 60 61 62typedef union { 63 struct iplookupiterkey { 64 char ilik_ival; 65 u_char ilik_type; /* IPLT_* */ 66 u_char ilik_otype; | 1 2#ifndef __IP_LOOKUP_H__ 3#define __IP_LOOKUP_H__ 4 5#if defined(__STDC__) || defined(__GNUC__) || defined(_AIX51) 6# define SIOCLOOKUPADDTABLE _IOWR('r', 60, struct iplookupop) 7# define SIOCLOOKUPDELTABLE _IOWR('r', 61, struct iplookupop) 8# define SIOCLOOKUPSTAT _IOWR('r', 64, struct iplookupop) --- 50 unchanged lines hidden (view full) --- 59#define IPLT_ANON 0x80000000 60 61 62typedef union { 63 struct iplookupiterkey { 64 char ilik_ival; 65 u_char ilik_type; /* IPLT_* */ 66 u_char ilik_otype; |
67 char ilik_unit; /* IPL_LOG* */ | 67 u_char ilik_unit; /* IPL_LOG* */ |
68 } ilik_unstr; 69 u_32_t ilik_key; 70} iplookupiterkey_t; 71 72typedef struct ipflookupiter { 73 int ili_nitems; 74 iplookupiterkey_t ili_lkey; 75 char ili_name[FR_GROUPLEN]; --- 9 unchanged lines hidden (view full) --- 85#define IPFLOOKUPITER_LIST 0 86#define IPFLOOKUPITER_NODE 1 87 88 89extern int ip_lookup_init __P((void)); 90extern int ip_lookup_ioctl __P((caddr_t, ioctlcmd_t, int, int, void *)); 91extern void ip_lookup_unload __P((void)); 92extern void ip_lookup_deref __P((int, void *)); | 68 } ilik_unstr; 69 u_32_t ilik_key; 70} iplookupiterkey_t; 71 72typedef struct ipflookupiter { 73 int ili_nitems; 74 iplookupiterkey_t ili_lkey; 75 char ili_name[FR_GROUPLEN]; --- 9 unchanged lines hidden (view full) --- 85#define IPFLOOKUPITER_LIST 0 86#define IPFLOOKUPITER_NODE 1 87 88 89extern int ip_lookup_init __P((void)); 90extern int ip_lookup_ioctl __P((caddr_t, ioctlcmd_t, int, int, void *)); 91extern void ip_lookup_unload __P((void)); 92extern void ip_lookup_deref __P((int, void *)); |
93extern int ip_lookup_iterate __P((void *, int, void *)); | |
94extern void ip_lookup_iterderef __P((u_32_t, void *)); 95 96#endif /* __IP_LOOKUP_H__ */ | 93extern void ip_lookup_iterderef __P((u_32_t, void *)); 94 95#endif /* __IP_LOOKUP_H__ */ |