Home
last modified time | relevance | path

Searched refs:mh (Results 1 – 6 of 6) sorted by relevance

/net/ipv6/netfilter/
Dip6t_mh.c38 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()
DKconfig194 tristate '"mh" match support'
/net/802/
Dmrp.c337 if (mrp_cb(app->pdu)->mh) in mrp_pdu_queue()
360 struct mrp_msg_hdr *mh; in mrp_pdu_append_msg_hdr() local
362 if (mrp_cb(app->pdu)->mh) { in mrp_pdu_append_msg_hdr()
365 mrp_cb(app->pdu)->mh = NULL; in mrp_pdu_append_msg_hdr()
369 if (skb_tailroom(app->pdu) < sizeof(*mh)) in mrp_pdu_append_msg_hdr()
371 mh = (struct mrp_msg_hdr *)__skb_put(app->pdu, sizeof(*mh)); in mrp_pdu_append_msg_hdr()
372 mh->attrtype = attrtype; in mrp_pdu_append_msg_hdr()
373 mh->attrlen = attrlen; in mrp_pdu_append_msg_hdr()
374 mrp_cb(app->pdu)->mh = mh; in mrp_pdu_append_msg_hdr()
412 if (!mrp_cb(app->pdu)->mh || in mrp_pdu_append_vecattr_event()
[all …]
/net/ipv6/
Dmip6.c89 const struct ip6_mh *mh; in mip6_mh_filter() local
91 mh = skb_header_pointer(skb, skb_transport_offset(skb), in mip6_mh_filter()
93 if (!mh) in mip6_mh_filter()
96 if (((mh->ip6mh_hdrlen + 1) << 3) > skb->len) in mip6_mh_filter()
99 if (mh->ip6mh_hdrlen < mip6_mh_len(mh->ip6mh_type)) { in mip6_mh_filter()
101 mh->ip6mh_hdrlen, in mip6_mh_filter()
102 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()
Dxfrm6_policy.c200 struct ip6_mh *mh; in _decode_session6() local
203 mh = (struct ip6_mh *)(nh + offset); in _decode_session6()
204 fl6->fl6_mh_type = mh->ip6mh_type; in _decode_session6()
/net/can/
Dbcm.c722 struct bcm_msg_head *mh, int ifindex) in bcm_find_op() argument
727 if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && in bcm_find_op()
728 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) in bcm_find_op()
780 static int bcm_delete_rx_op(struct list_head *ops, struct bcm_msg_head *mh, in bcm_delete_rx_op() argument
786 if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && in bcm_delete_rx_op()
787 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) { in bcm_delete_rx_op()
827 static int bcm_delete_tx_op(struct list_head *ops, struct bcm_msg_head *mh, in bcm_delete_tx_op() argument
833 if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && in bcm_delete_tx_op()
834 (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) { in bcm_delete_tx_op()