Lines Matching refs:mctp_hdr
44 struct mctp_hdr *mh; in mctp_lookup_bind()
51 mh = mctp_hdr(skb); in mctp_lookup_bind()
138 struct mctp_hdr *mh; in mctp_lookup_key()
141 mh = mctp_hdr(skb); in mctp_lookup_key()
328 struct mctp_hdr *hdr = mctp_hdr(skb); in mctp_frag_queue()
374 struct mctp_hdr *mh; in mctp_route_input()
394 if (skb->len < sizeof(struct mctp_hdr) + 1) in mctp_route_input()
398 mh = mctp_hdr(skb); in mctp_route_input()
400 skb_pull(skb, sizeof(struct mctp_hdr)); in mctp_route_input()
565 struct mctp_hdr *hdr = mctp_hdr(skb); in mctp_route_output()
864 const unsigned int hlen = sizeof(struct mctp_hdr); in mctp_do_fragment_route()
865 struct mctp_hdr *hdr, *hdr2; in mctp_do_fragment_route()
871 hdr = mctp_hdr(skb); in mctp_do_fragment_route()
912 hdr2 = mctp_hdr(skb2); in mctp_do_fragment_route()
953 struct mctp_hdr *hdr; in mctp_local_output()
1036 skb_push(skb, sizeof(struct mctp_hdr)); in mctp_local_output()
1044 hdr = mctp_hdr(skb); in mctp_local_output()
1051 if (skb->len + sizeof(struct mctp_hdr) <= mtu) { in mctp_local_output()
1191 struct mctp_hdr *mh; in mctp_pkttype_receive()
1201 if (!pskb_may_pull(skb, sizeof(struct mctp_hdr))) in mctp_pkttype_receive()
1208 mh = mctp_hdr(skb); in mctp_pkttype_receive()