Home
last modified time | relevance | path

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

/net/ipv6/netfilter/
Dip6t_frag.c41 const struct frag_hdr *fh; in frag_mt6() local
53 fh = skb_header_pointer(skb, ptr, sizeof(_frag), &_frag); in frag_mt6()
54 if (fh == NULL) { in frag_mt6()
59 pr_debug("INFO %04X ", fh->frag_off); in frag_mt6()
60 pr_debug("OFFSET %04X ", ntohs(fh->frag_off) & ~0x7); in frag_mt6()
61 pr_debug("RES %02X %04X", fh->reserved, ntohs(fh->frag_off) & 0x6); in frag_mt6()
62 pr_debug("MF %04X ", fh->frag_off & htons(IP6_MF)); in frag_mt6()
63 pr_debug("ID %u %08X\n", ntohl(fh->identification), in frag_mt6()
64 ntohl(fh->identification)); in frag_mt6()
68 ntohl(fh->identification), in frag_mt6()
[all …]
/net/sched/
Dcls_api.c103 unsigned long fh, int event);
137 unsigned long fh; in tc_ctl_tfilter() local
282 fh = tp->ops->get(tp, t->tcm_handle); in tc_ctl_tfilter()
284 if (fh == 0) { in tc_ctl_tfilter()
290 tfilter_notify(net, skb, n, tp, fh, RTM_DELTFILTER); in tc_ctl_tfilter()
311 err = tp->ops->delete(tp, fh); in tc_ctl_tfilter()
313 tfilter_notify(net, skb, n, tp, fh, RTM_DELTFILTER); in tc_ctl_tfilter()
316 err = tfilter_notify(net, skb, n, tp, fh, RTM_NEWTFILTER); in tc_ctl_tfilter()
324 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh); in tc_ctl_tfilter()
332 tfilter_notify(net, skb, n, tp, fh, RTM_NEWTFILTER); in tc_ctl_tfilter()
[all …]
Dcls_tcindex.c426 static int tcindex_dump(struct tcf_proto *tp, unsigned long fh, in tcindex_dump() argument
430 struct tcindex_filter_result *r = (struct tcindex_filter_result *) fh; in tcindex_dump()
435 tp, fh, skb, t, p, r, b); in tcindex_dump()
442 if (!fh) { in tcindex_dump()
Dcls_basic.c247 static int basic_dump(struct tcf_proto *tp, unsigned long fh, in basic_dump() argument
250 struct basic_filter *f = (struct basic_filter *) fh; in basic_dump()
Dcls_fw.c330 static int fw_dump(struct tcf_proto *tp, unsigned long fh, in fw_dump() argument
334 struct fw_filter *f = (struct fw_filter *)fh; in fw_dump()
Dcls_u32.c718 static int u32_dump(struct tcf_proto *tp, unsigned long fh, in u32_dump() argument
721 struct tc_u_knode *n = (struct tc_u_knode *)fh; in u32_dump()
734 struct tc_u_hnode *ht = (struct tc_u_hnode *)fh; in u32_dump()
Dcls_route.c557 static int route4_dump(struct tcf_proto *tp, unsigned long fh, in route4_dump() argument
560 struct route4_filter *f = (struct route4_filter *)fh; in route4_dump()
Dcls_rsvp.h600 static int rsvp_dump(struct tcf_proto *tp, unsigned long fh, in rsvp_dump() argument
603 struct rsvp_filter *f = (struct rsvp_filter *)fh; in rsvp_dump()
Dcls_cgroup.c264 static int cls_cgroup_dump(struct tcf_proto *tp, unsigned long fh, in cls_cgroup_dump() argument
Dcls_flow.c569 static int flow_dump(struct tcf_proto *tp, unsigned long fh, in flow_dump() argument
572 struct flow_filter *f = (struct flow_filter *)fh; in flow_dump()
/net/ipv6/
Dip6_output.c531 struct frag_hdr *fh; in ip6_fragment() local
610 fh = (struct frag_hdr*)__skb_push(skb, sizeof(struct frag_hdr)); in ip6_fragment()
615 ipv6_select_ident(fh, rt); in ip6_fragment()
616 fh->nexthdr = nexthdr; in ip6_fragment()
617 fh->reserved = 0; in ip6_fragment()
618 fh->frag_off = htons(IP6_MF); in ip6_fragment()
619 frag_id = fh->identification; in ip6_fragment()
635 fh = (struct frag_hdr*)__skb_push(frag, sizeof(struct frag_hdr)); in ip6_fragment()
641 fh->nexthdr = nexthdr; in ip6_fragment()
642 fh->reserved = 0; in ip6_fragment()
[all …]
/net/netfilter/
Dxt_LOG.c555 const struct frag_hdr *fh; in dump_ipv6_packet() local
558 fh = skb_header_pointer(skb, ptr, sizeof(_fhdr), in dump_ipv6_packet()
560 if (fh == NULL) { in dump_ipv6_packet()
566 sb_add(m, "%u ", ntohs(fh->frag_off) & 0xFFF8); in dump_ipv6_packet()
569 if (fh->frag_off & htons(0x0001)) in dump_ipv6_packet()
572 sb_add(m, "ID:%08x ", ntohl(fh->identification)); in dump_ipv6_packet()
574 if (ntohs(fh->frag_off) & 0xFFF8) in dump_ipv6_packet()