Home
last modified time | relevance | path

Searched refs:fh (Results 1 – 15 of 15) sorted by relevance

/net/ipv6/netfilter/
A Dip6t_frag.c38 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 Dxfrm6_output.c50 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 Dip6_output.c708 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 Dcls_api.c2081 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 Dcls_basic.c261 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 Dcls_matchall.c328 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 Dcls_fw.c368 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 Dcls_route.c604 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 Dcls_bpf.c579 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 Dcls_u32.c1335 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 Dcls_cgroup.c172 static int cls_cgroup_dump(struct net *net, struct tcf_proto *tp, void *fh, in cls_cgroup_dump() argument
A Dcls_flow.c621 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 Dcls_flower.c3688 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 Dnf_log_syslog.c589 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 Dflow_dissector.c1569 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()

Completed in 835 milliseconds