Home
last modified time | relevance | path

Searched refs:STRUCT_ENTRY (Results 1 – 3 of 3) sorted by relevance

/external/iptables/libiptc/
Dlibiptc.c111 STRUCT_ENTRY entry[0];
211 iptcb_get_number(const STRUCT_ENTRY *i, in iptcb_get_number()
212 const STRUCT_ENTRY *seek, in iptcb_get_number()
222 iptcb_get_entry_n(STRUCT_ENTRY *i, in iptcb_get_entry_n()
225 STRUCT_ENTRY **pe) in iptcb_get_entry_n()
235 static inline STRUCT_ENTRY *
238 return (STRUCT_ENTRY *)((char *)h->entries->entrytable + offset); in iptcb_get_entry()
242 iptcb_entry2index(struct xtc_handle *const h, const STRUCT_ENTRY *seek) in iptcb_entry2index()
255 static inline STRUCT_ENTRY *
258 return (STRUCT_ENTRY *) ((void *)h->entries->entrytable+offset); in iptcb_offset2entry()
[all …]
Dlibip4tc.c41 #define STRUCT_ENTRY struct ipt_entry macro
172 is_same(const STRUCT_ENTRY *a, const STRUCT_ENTRY *b, unsigned char *matchmask) in is_same()
204 mptr = matchmask + sizeof(STRUCT_ENTRY); in is_same()
237 check_entry(const STRUCT_ENTRY *e, unsigned int *i, unsigned int *off,
244 assert(e->target_offset >= sizeof(STRUCT_ENTRY));
247 toff = sizeof(STRUCT_ENTRY);
253 GET_TARGET((STRUCT_ENTRY *)e);
270 STRUCT_ENTRY *te = get_entry(h, t->verdict);
436 STRUCT_ENTRY *e;
460 >= h->info.num_entries * (sizeof(STRUCT_ENTRY)
[all …]
Dlibip6tc.c39 #define STRUCT_ENTRY struct ip6t_entry macro
205 is_same(const STRUCT_ENTRY *a, const STRUCT_ENTRY *b, in is_same()
239 mptr = matchmask + sizeof(STRUCT_ENTRY); in is_same()
384 STRUCT_ENTRY *e; in do_check()
410 >= h->info.num_entries * (sizeof(STRUCT_ENTRY) in do_check()
415 * (sizeof(STRUCT_ENTRY) in do_check()