Searched refs:next_hdr (Results 1 – 8 of 8) sorted by relevance
338 struct rmnet_map_v5_csum_header *next_hdr = NULL; in rmnet_map_validate_packet_len() local362 packet_len += sizeof(*next_hdr); in rmnet_map_validate_packet_len()363 next_hdr = data + sizeof(*maph); in rmnet_map_validate_packet_len()369 if (next_hdr && in rmnet_map_validate_packet_len()370 u8_get_bits(next_hdr->header_info, MAPV5_HDRINFO_HDR_TYPE_FMASK) != in rmnet_map_validate_packet_len()505 struct rmnet_map_v5_csum_header *next_hdr; in rmnet_map_process_next_hdr_packet() local508 next_hdr = (struct rmnet_map_v5_csum_header *)(skb->data + in rmnet_map_process_next_hdr_packet()511 nexthdr_type = u8_get_bits(next_hdr->header_info, in rmnet_map_process_next_hdr_packet()519 } else if (next_hdr->csum_info & MAPV5_CSUMINFO_VALID_FLAG) { in rmnet_map_process_next_hdr_packet()527 skb_pull(skb, sizeof(*next_hdr)); in rmnet_map_process_next_hdr_packet()
140 u64 next_hdr; in io_query() local142 ret = io_handle_query_entry(&entry_buffer, uhdr, &next_hdr); in io_query()145 uhdr = u64_to_user_ptr(next_hdr); in io_query()
357 struct sctp_chunkhdr *next_hdr; in sctp_endpoint_bh_rcv() local359 next_hdr = sctp_inq_peek(inqueue); in sctp_endpoint_bh_rcv()360 if (!next_hdr) in sctp_endpoint_bh_rcv()368 if (next_hdr->type == SCTP_CID_COOKIE_ECHO) { in sctp_endpoint_bh_rcv()
998 struct sctp_chunkhdr *next_hdr; in sctp_assoc_bh_rcv() local1000 next_hdr = sctp_inq_peek(inqueue); in sctp_assoc_bh_rcv()1001 if (!next_hdr) in sctp_assoc_bh_rcv()1009 if (next_hdr->type == SCTP_CID_COOKIE_ECHO) { in sctp_assoc_bh_rcv()
552 void *next_hdr; in handle_gso_encap() local565 next_hdr = skb_network_header(skb) + next_hdr_offset; in handle_gso_encap()569 next_hdr = skb_network_header(skb) + next_hdr_offset; in handle_gso_encap()578 if (((struct gre_base_hdr *)next_hdr)->flags & GRE_CSUM) in handle_gso_encap()588 if (((struct udphdr *)next_hdr)->check) in handle_gso_encap()
50 !(srh->nexthdr == srhinfo->next_hdr))) in srh_mt6()144 !(srh->nexthdr == srhinfo->next_hdr))) in srh1_mt6()
135 hdr->next_hdr = IB_GRH_NEXT_HDR; in hfi1_make_grh()
733 if (grh->next_hdr == IPPROTO_UDP) in ib_get_net_type_by_grh()