Searched refs:mh (Results 1 – 7 of 7) sorted by relevance
/net/ipv6/netfilter/ |
D | ip6t_mh.c | 34 const struct ip6_mh *mh; in mh_mt6() local 41 mh = skb_header_pointer(skb, par->thoff, sizeof(_mh), &_mh); in mh_mt6() 42 if (mh == NULL) { in mh_mt6() 50 if (mh->ip6mh_proto != IPPROTO_NONE) { in mh_mt6() 52 mh->ip6mh_proto); in mh_mt6() 57 return type_match(mhinfo->types[0], mhinfo->types[1], mh->ip6mh_type, in mh_mt6()
|
D | Kconfig | 148 tristate '"mh" match support'
|
/net/802/ |
D | mrp.c | 347 if (mrp_cb(app->pdu)->mh) in mrp_pdu_queue() 370 struct mrp_msg_hdr *mh; in mrp_pdu_append_msg_hdr() local 372 if (mrp_cb(app->pdu)->mh) { in mrp_pdu_append_msg_hdr() 375 mrp_cb(app->pdu)->mh = NULL; in mrp_pdu_append_msg_hdr() 379 if (skb_tailroom(app->pdu) < sizeof(*mh)) in mrp_pdu_append_msg_hdr() 381 mh = __skb_put(app->pdu, sizeof(*mh)); in mrp_pdu_append_msg_hdr() 382 mh->attrtype = attrtype; in mrp_pdu_append_msg_hdr() 383 mh->attrlen = attrlen; in mrp_pdu_append_msg_hdr() 384 mrp_cb(app->pdu)->mh = mh; in mrp_pdu_append_msg_hdr() 421 if (!mrp_cb(app->pdu)->mh || in mrp_pdu_append_vecattr_event() [all …]
|
/net/ipv6/ |
D | mip6.c | 77 const struct ip6_mh *mh; in mip6_mh_filter() local 79 mh = skb_header_pointer(skb, skb_transport_offset(skb), in mip6_mh_filter() 81 if (!mh) in mip6_mh_filter() 84 if (((mh->ip6mh_hdrlen + 1) << 3) > skb->len) in mip6_mh_filter() 87 if (mh->ip6mh_hdrlen < mip6_mh_len(mh->ip6mh_type)) { in mip6_mh_filter() 89 mh->ip6mh_hdrlen, in mip6_mh_filter() 90 mip6_mh_len(mh->ip6mh_type)); in mip6_mh_filter() 96 if (mh->ip6mh_proto != IPPROTO_NONE) { in mip6_mh_filter() 98 mh->ip6mh_proto); in mip6_mh_filter()
|
/net/mctp/ |
D | route.c | 38 struct mctp_hdr *mh; in mctp_lookup_bind() local 45 mh = mctp_hdr(skb); in mctp_lookup_bind() 62 msk->bind_addr != mh->dest) in mctp_lookup_bind() 90 struct mctp_hdr *mh; in mctp_lookup_key() local 95 mh = mctp_hdr(skb); in mctp_lookup_key() 96 tag = mh->flags_seq_tag & (MCTP_HDR_TAG_MASK | MCTP_HDR_FLAG_TO); in mctp_lookup_key() 101 if (mctp_key_match(key, mh->dest, peer, tag)) { in mctp_lookup_key() 228 struct mctp_hdr *mh; in mctp_route_input() local 246 mh = mctp_hdr(skb); in mctp_route_input() 249 if (mh->ver != 1) in mctp_route_input() [all …]
|
/net/can/ |
D | bcm.c | 710 struct bcm_msg_head *mh, int ifindex) in bcm_find_op() argument 715 if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && in bcm_find_op() 716 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) in bcm_find_op() 760 static int bcm_delete_rx_op(struct list_head *ops, struct bcm_msg_head *mh, in bcm_delete_rx_op() argument 766 if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && in bcm_delete_rx_op() 767 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) { in bcm_delete_rx_op() 811 static int bcm_delete_tx_op(struct list_head *ops, struct bcm_msg_head *mh, in bcm_delete_tx_op() argument 817 if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && in bcm_delete_tx_op() 818 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) { in bcm_delete_tx_op()
|
/net/xfrm/ |
D | xfrm_policy.c | 3465 struct ip6_mh *mh; in decode_session6() local 3468 mh = (struct ip6_mh *)(nh + offset); in decode_session6() 3469 fl6->fl6_mh_type = mh->ip6mh_type; in decode_session6()
|