| /net/ipv6/netfilter/ |
| A D | ip6t_frag.c | 38 const struct frag_hdr *fh; in frag_mt6() local 51 if (fh == NULL) { in frag_mt6() 58 pr_debug("RES %02X %04X", fh->reserved, ntohs(fh->frag_off) & 0x6); in frag_mt6() 61 ntohl(fh->identification)); in frag_mt6() 65 ntohl(fh->identification), in frag_mt6() 69 ntohs(fh->frag_off) & 0x6, in frag_mt6() 71 (fh->reserved || (ntohs(fh->frag_off) & 0x06)))); in frag_mt6() 74 ntohs(fh->frag_off) & ~0x7, in frag_mt6() 79 ntohs(fh->frag_off) & IP6_MF, in frag_mt6() 89 ntohl(fh->identification), in frag_mt6() [all …]
|
| /net/ipv6/ |
| A D | xfrm6_output.c | 50 struct frag_hdr *fh; in xfrm6_noneed_fragment() local 55 fh = (struct frag_hdr *)(skb->data + sizeof(struct ipv6hdr)); in xfrm6_noneed_fragment() 56 if (fh->nexthdr == NEXTHDR_ESP || fh->nexthdr == NEXTHDR_AUTH) in xfrm6_noneed_fragment()
|
| A D | ip6_output.c | 708 struct frag_hdr *fh; in ip6_fraglist_init() local 730 fh->nexthdr = nexthdr; in ip6_fraglist_init() 731 fh->reserved = 0; in ip6_fraglist_init() 732 fh->frag_off = htons(IP6_MF); in ip6_fraglist_init() 733 fh->identification = frag_id; in ip6_fraglist_init() 749 struct frag_hdr *fh; in ip6_fraglist_prepare() local 758 fh->nexthdr = iter->nexthdr; in ip6_fraglist_prepare() 759 fh->reserved = 0; in ip6_fraglist_prepare() 794 struct frag_hdr *fh; in ip6_frag_next() local 843 fh->nexthdr = state->nexthdr; in ip6_frag_next() [all …]
|
| /net/sched/ |
| A D | cls_api.c | 2081 if (!fh) { in tcf_fill_node() 2249 void *fh; in tc_new_tfilter() local 2397 if (!fh) { in tc_new_tfilter() 2404 tfilter_put(tp, fh); in tc_new_tfilter() 2411 tfilter_put(tp, fh); in tc_new_tfilter() 2428 tfilter_put(tp, fh); in tc_new_tfilter() 2482 void *fh = NULL; in tc_del_tfilter() local 2591 if (!fh) { in tc_del_tfilter() 2641 void *fh = NULL; in tc_get_tfilter() local 2724 if (!fh) { in tc_get_tfilter() [all …]
|
| A D | cls_basic.c | 261 static void basic_bind_class(void *fh, u32 classid, unsigned long cl, void *q, in basic_bind_class() argument 264 struct basic_filter *f = fh; in basic_bind_class() 269 static int basic_dump(struct net *net, struct tcf_proto *tp, void *fh, in basic_dump() argument 273 struct basic_filter *f = fh; in basic_dump()
|
| A D | cls_matchall.c | 328 static int mall_dump(struct net *net, struct tcf_proto *tp, void *fh, in mall_dump() argument 332 struct cls_mall_head *head = fh; in mall_dump() 381 static void mall_bind_class(void *fh, u32 classid, unsigned long cl, void *q, in mall_bind_class() argument 384 struct cls_mall_head *head = fh; in mall_bind_class()
|
| A D | cls_fw.c | 368 static int fw_dump(struct net *net, struct tcf_proto *tp, void *fh, in fw_dump() argument 372 struct fw_filter *f = fh; in fw_dump() 415 static void fw_bind_class(void *fh, u32 classid, unsigned long cl, void *q, in fw_bind_class() argument 418 struct fw_filter *f = fh; in fw_bind_class()
|
| A D | cls_route.c | 604 static int route4_dump(struct net *net, struct tcf_proto *tp, void *fh, in route4_dump() argument 607 struct route4_filter *f = fh; in route4_dump() 653 static void route4_bind_class(void *fh, u32 classid, unsigned long cl, void *q, in route4_bind_class() argument 656 struct route4_filter *f = fh; in route4_bind_class()
|
| A D | cls_bpf.c | 579 static int cls_bpf_dump(struct net *net, struct tcf_proto *tp, void *fh, in cls_bpf_dump() argument 582 struct cls_bpf_prog *prog = fh; in cls_bpf_dump() 632 static void cls_bpf_bind_class(void *fh, u32 classid, unsigned long cl, in cls_bpf_bind_class() argument 635 struct cls_bpf_prog *prog = fh; in cls_bpf_bind_class()
|
| A D | cls_u32.c | 1335 static void u32_bind_class(void *fh, u32 classid, unsigned long cl, void *q, in u32_bind_class() argument 1338 struct tc_u_knode *n = fh; in u32_bind_class() 1343 static int u32_dump(struct net *net, struct tcf_proto *tp, void *fh, in u32_dump() argument 1346 struct tc_u_knode *n = fh; in u32_dump() 1360 struct tc_u_hnode *ht = fh; in u32_dump()
|
| A D | cls_cgroup.c | 172 static int cls_cgroup_dump(struct net *net, struct tcf_proto *tp, void *fh, in cls_cgroup_dump() argument
|
| A D | cls_flow.c | 621 static int flow_dump(struct net *net, struct tcf_proto *tp, void *fh, in flow_dump() argument 624 struct flow_filter *f = fh; in flow_dump()
|
| A D | cls_flower.c | 3688 static int fl_dump(struct net *net, struct tcf_proto *tp, void *fh, in fl_dump() argument 3691 struct cls_fl_filter *f = fh; in fl_dump() 3746 static int fl_terse_dump(struct net *net, struct tcf_proto *tp, void *fh, in fl_terse_dump() argument 3749 struct cls_fl_filter *f = fh; in fl_terse_dump() 3813 static void fl_bind_class(void *fh, u32 classid, unsigned long cl, void *q, in fl_bind_class() argument 3816 struct cls_fl_filter *f = fh; in fl_bind_class()
|
| /net/netfilter/ |
| A D | nf_log_syslog.c | 589 const struct frag_hdr *fh; in dump_ipv6_packet() local 592 fh = skb_header_pointer(skb, ptr, sizeof(_fhdr), in dump_ipv6_packet() 594 if (!fh) { in dump_ipv6_packet() 600 nf_log_buf_add(m, "%u ", ntohs(fh->frag_off) & 0xFFF8); in dump_ipv6_packet() 603 if (fh->frag_off & htons(0x0001)) in dump_ipv6_packet() 607 ntohl(fh->identification)); in dump_ipv6_packet() 609 if (ntohs(fh->frag_off) & 0xFFF8) in dump_ipv6_packet()
|
| /net/core/ |
| A D | flow_dissector.c | 1569 struct frag_hdr _fh, *fh; in __skb_flow_dissect() local 1574 fh = __skb_header_pointer(skb, nhoff, sizeof(_fh), in __skb_flow_dissect() 1577 if (!fh) { in __skb_flow_dissect() 1585 ip_proto = fh->nexthdr; in __skb_flow_dissect() 1587 if (!(fh->frag_off & htons(IP6_OFFSET))) { in __skb_flow_dissect()
|