Home
last modified time | relevance | path

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

/net/ipv6/netfilter/
Dip6t_frag.c38 const struct frag_hdr *fh; in frag_mt6() local
50 fh = skb_header_pointer(skb, ptr, sizeof(_frag), &_frag); in frag_mt6()
51 if (fh == NULL) { in frag_mt6()
56 pr_debug("INFO %04X ", fh->frag_off); in frag_mt6()
57 pr_debug("OFFSET %04X ", ntohs(fh->frag_off) & ~0x7); in frag_mt6()
58 pr_debug("RES %02X %04X", fh->reserved, ntohs(fh->frag_off) & 0x6); in frag_mt6()
59 pr_debug("MF %04X ", fh->frag_off & htons(IP6_MF)); in frag_mt6()
60 pr_debug("ID %u %08X\n", ntohl(fh->identification), in frag_mt6()
61 ntohl(fh->identification)); in frag_mt6()
65 ntohl(fh->identification), in frag_mt6()
[all …]
/net/ipv6/
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()
Dip6_output.c670 struct frag_hdr *fh; in ip6_fraglist_init() local
687 fh = __skb_push(skb, sizeof(struct frag_hdr)); in ip6_fraglist_init()
692 fh->nexthdr = nexthdr; in ip6_fraglist_init()
693 fh->reserved = 0; in ip6_fraglist_init()
694 fh->frag_off = htons(IP6_MF); in ip6_fraglist_init()
695 fh->identification = frag_id; in ip6_fraglist_init()
711 struct frag_hdr *fh; in ip6_fraglist_prepare() local
715 fh = __skb_push(frag, sizeof(struct frag_hdr)); in ip6_fraglist_prepare()
720 fh->nexthdr = iter->nexthdr; in ip6_fraglist_prepare()
721 fh->reserved = 0; in ip6_fraglist_prepare()
[all …]
/net/sched/
Dcls_api.c1798 struct Qdisc *q, u32 parent, void *fh, in tcf_fill_node() argument
1825 if (!fh) { in tcf_fill_node()
1829 if (tp->ops->terse_dump(net, tp, fh, skb, tcm, in tcf_fill_node()
1837 tp->ops->dump(net, tp, fh, skb, tcm, rtnl_held) < 0) in tcf_fill_node()
1853 u32 parent, void *fh, int event, bool unicast, in tfilter_notify() argument
1864 if (tcf_fill_node(net, skb, tp, block, q, parent, fh, portid, in tfilter_notify()
1882 u32 parent, void *fh, bool unicast, bool *last, in tfilter_del_notify() argument
1893 if (tcf_fill_node(net, skb, tp, block, q, parent, fh, portid, in tfilter_del_notify()
1901 err = tp->ops->delete(tp, fh, last, rtnl_held, extack); in tfilter_del_notify()
1931 static void tfilter_put(struct tcf_proto *tp, void *fh) in tfilter_put() argument
[all …]
Dcls_basic.c266 static void basic_bind_class(void *fh, u32 classid, unsigned long cl, void *q, in basic_bind_class() argument
269 struct basic_filter *f = fh; in basic_bind_class()
279 static int basic_dump(struct net *net, struct tcf_proto *tp, void *fh, in basic_dump() argument
283 struct basic_filter *f = fh; in basic_dump()
Dcls_matchall.c346 static int mall_dump(struct net *net, struct tcf_proto *tp, void *fh, in mall_dump() argument
350 struct cls_mall_head *head = fh; in mall_dump()
399 static void mall_bind_class(void *fh, u32 classid, unsigned long cl, void *q, in mall_bind_class() argument
402 struct cls_mall_head *head = fh; in mall_bind_class()
Dcls_fw.c373 static int fw_dump(struct net *net, struct tcf_proto *tp, void *fh, in fw_dump() argument
377 struct fw_filter *f = fh; in fw_dump()
420 static void fw_bind_class(void *fh, u32 classid, unsigned long cl, void *q, in fw_bind_class() argument
423 struct fw_filter *f = fh; in fw_bind_class()
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()
Dcls_bpf.c573 static int cls_bpf_dump(struct net *net, struct tcf_proto *tp, void *fh, in cls_bpf_dump() argument
576 struct cls_bpf_prog *prog = fh; in cls_bpf_dump()
626 static void cls_bpf_bind_class(void *fh, u32 classid, unsigned long cl, in cls_bpf_bind_class() argument
629 struct cls_bpf_prog *prog = fh; in cls_bpf_bind_class()
Dcls_u32.c1297 static void u32_bind_class(void *fh, u32 classid, unsigned long cl, void *q, in u32_bind_class() argument
1300 struct tc_u_knode *n = fh; in u32_bind_class()
1310 static int u32_dump(struct net *net, struct tcf_proto *tp, void *fh, in u32_dump() argument
1313 struct tc_u_knode *n = fh; in u32_dump()
1327 struct tc_u_hnode *ht = fh; in u32_dump()
Dcls_cgroup.c170 static int cls_cgroup_dump(struct net *net, struct tcf_proto *tp, void *fh, in cls_cgroup_dump() argument
Dcls_flow.c618 static int flow_dump(struct net *net, struct tcf_proto *tp, void *fh, in flow_dump() argument
621 struct flow_filter *f = fh; in flow_dump()
Dcls_flower.c3075 static int fl_dump(struct net *net, struct tcf_proto *tp, void *fh, in fl_dump() argument
3078 struct cls_fl_filter *f = fh; in fl_dump()
3133 static int fl_terse_dump(struct net *net, struct tcf_proto *tp, void *fh, in fl_terse_dump() argument
3136 struct cls_fl_filter *f = fh; in fl_terse_dump()
3200 static void fl_bind_class(void *fh, u32 classid, unsigned long cl, void *q, in fl_bind_class() argument
3203 struct cls_fl_filter *f = fh; in fl_bind_class()
/net/netfilter/
Dnf_log_syslog.c581 const struct frag_hdr *fh; in dump_ipv6_packet() local
584 fh = skb_header_pointer(skb, ptr, sizeof(_fhdr), in dump_ipv6_packet()
586 if (!fh) { in dump_ipv6_packet()
592 nf_log_buf_add(m, "%u ", ntohs(fh->frag_off) & 0xFFF8); in dump_ipv6_packet()
595 if (fh->frag_off & htons(0x0001)) in dump_ipv6_packet()
599 ntohl(fh->identification)); in dump_ipv6_packet()
601 if (ntohs(fh->frag_off) & 0xFFF8) in dump_ipv6_packet()
/net/core/
Dflow_dissector.c1339 struct frag_hdr _fh, *fh; in __skb_flow_dissect() local
1344 fh = __skb_header_pointer(skb, nhoff, sizeof(_fh), in __skb_flow_dissect()
1347 if (!fh) { in __skb_flow_dissect()
1355 ip_proto = fh->nexthdr; in __skb_flow_dissect()
1357 if (!(fh->frag_off & htons(IP6_OFFSET))) { in __skb_flow_dissect()