Searched refs:mh (Results 1 – 5 of 5) sorted by relevance
/net/ipv6/netfilter/ |
D | ip6t_mh.c | 38 const struct ip6_mh *mh; in mh_mt6() local 45 mh = skb_header_pointer(skb, par->thoff, sizeof(_mh), &_mh); in mh_mt6() 46 if (mh == NULL) { in mh_mt6() 54 if (mh->ip6mh_proto != IPPROTO_NONE) { in mh_mt6() 56 mh->ip6mh_proto); in mh_mt6() 61 return type_match(mhinfo->types[0], mhinfo->types[1], mh->ip6mh_type, in mh_mt6()
|
D | Kconfig | 99 tristate '"mh" match support'
|
/net/802/ |
D | mrp.c | 332 if (mrp_cb(app->pdu)->mh) in mrp_pdu_queue() 355 struct mrp_msg_hdr *mh; in mrp_pdu_append_msg_hdr() local 357 if (mrp_cb(app->pdu)->mh) { in mrp_pdu_append_msg_hdr() 360 mrp_cb(app->pdu)->mh = NULL; in mrp_pdu_append_msg_hdr() 364 if (skb_tailroom(app->pdu) < sizeof(*mh)) in mrp_pdu_append_msg_hdr() 366 mh = (struct mrp_msg_hdr *)__skb_put(app->pdu, sizeof(*mh)); in mrp_pdu_append_msg_hdr() 367 mh->attrtype = attrtype; in mrp_pdu_append_msg_hdr() 368 mh->attrlen = attrlen; in mrp_pdu_append_msg_hdr() 369 mrp_cb(app->pdu)->mh = mh; in mrp_pdu_append_msg_hdr() 407 if (!mrp_cb(app->pdu)->mh || in mrp_pdu_append_vecattr_event() [all …]
|
/net/ipv6/ |
D | mip6.c | 90 const struct ip6_mh *mh; in mip6_mh_filter() local 92 mh = skb_header_pointer(skb, skb_transport_offset(skb), in mip6_mh_filter() 94 if (!mh) in mip6_mh_filter() 97 if (((mh->ip6mh_hdrlen + 1) << 3) > skb->len) in mip6_mh_filter() 100 if (mh->ip6mh_hdrlen < mip6_mh_len(mh->ip6mh_type)) { in mip6_mh_filter() 102 mh->ip6mh_hdrlen, mip6_mh_len(mh->ip6mh_type)); in mip6_mh_filter() 108 if (mh->ip6mh_proto != IPPROTO_NONE) { in mip6_mh_filter() 110 mh->ip6mh_proto); in mip6_mh_filter()
|
D | xfrm6_policy.c | 192 struct ip6_mh *mh; in _decode_session6() local 193 mh = (struct ip6_mh *)exthdr; in _decode_session6() 195 fl6->fl6_mh_type = mh->ip6mh_type; in _decode_session6()
|