H A D | f_u32.c | 117 static int pack_key(struct tc_u32_sel *sel, __u32 key, __u32 mask, argument 121 int hwm = sel->nkeys; 126 if (sel->keys[i].off == off && sel->keys[i].offmask == offmask) { 127 __u32 intersect = mask&sel->keys[i].mask; 129 if ((key^sel->keys[i].val) & intersect) 131 sel->keys[i].val |= key; 132 sel->keys[i].mask |= mask; 141 sel->keys[hwm].val = key; 142 sel 149 pack_key32(struct tc_u32_sel *sel, __u32 key, __u32 mask, int off, int offmask) argument 157 pack_key16(struct tc_u32_sel *sel, __u32 key, __u32 mask, int off, int offmask) argument 174 pack_key8(struct tc_u32_sel *sel, __u32 key, __u32 mask, int off, int offmask) argument 226 parse_u32(int *argc_p, char ***argv_p, struct tc_u32_sel *sel, int off, int offmask) argument 258 parse_u16(int *argc_p, char ***argv_p, struct tc_u32_sel *sel, int off, int offmask) argument 289 parse_u8(int *argc_p, char ***argv_p, struct tc_u32_sel *sel, int off, int offmask) argument 324 parse_ip_addr(int *argc_p, char ***argv_p, struct tc_u32_sel *sel, int off) argument 359 parse_ip6_addr(int *argc_p, char ***argv_p, struct tc_u32_sel *sel, int off) argument 406 parse_ip6_class(int *argc_p, char ***argv_p, struct tc_u32_sel *sel) argument 444 parse_ether_addr(int *argc_p, char ***argv_p, struct tc_u32_sel *sel, int off) argument 483 parse_ip(int *argc_p, char ***argv_p, struct tc_u32_sel *sel) argument 543 parse_ip6(int *argc_p, char ***argv_p, struct tc_u32_sel *sel) argument 587 parse_ether(int *argc_p, char ***argv_p, struct tc_u32_sel *sel) argument 613 parse_udp(int *argc_p, char ***argv_p, struct tc_u32_sel *sel) argument 637 parse_icmp(int *argc_p, char ***argv_p, struct tc_u32_sel *sel) argument 695 parse_selector(int *argc_p, char ***argv_p, struct tc_u32_sel *sel, struct nlmsghdr *n) argument 743 parse_offset(int *argc_p, char ***argv_p, struct tc_u32_sel *sel) argument 794 parse_hashkey(int *argc_p, char ***argv_p, struct tc_u32_sel *sel) argument 979 struct tc_u32_sel sel; member in struct:__anon22426 981 } sel; local 1083 struct tc_u32_sel sel; member in struct:__anon22427 1177 struct tc_u32_sel *sel = NULL; local [all...] |