/drivers/infiniband/sw/rxe/ |
D | rxe_icrc.c | 42 struct ipv6hdr *ip6h = NULL; in rxe_icrc_hdr() local 72 ip6h = (struct ipv6hdr *)pshdr; in rxe_icrc_hdr() 73 udph = (struct udphdr *)(ip6h + 1); in rxe_icrc_hdr() 75 memset(ip6h->flow_lbl, 0xff, sizeof(ip6h->flow_lbl)); in rxe_icrc_hdr() 76 ip6h->priority = 0xf; in rxe_icrc_hdr() 77 ip6h->hop_limit = 0xff; in rxe_icrc_hdr()
|
D | rxe_net.c | 330 struct ipv6hdr *ip6h; in prepare_ipv6_hdr() local 337 __skb_push(skb, sizeof(*ip6h)); in prepare_ipv6_hdr() 339 ip6h = ipv6_hdr(skb); in prepare_ipv6_hdr() 340 ip6_flow_hdr(ip6h, prio, htonl(0)); in prepare_ipv6_hdr() 341 ip6h->payload_len = htons(skb->len); in prepare_ipv6_hdr() 342 ip6h->nexthdr = proto; in prepare_ipv6_hdr() 343 ip6h->hop_limit = ttl; in prepare_ipv6_hdr() 344 ip6h->daddr = *daddr; in prepare_ipv6_hdr() 345 ip6h->saddr = *saddr; in prepare_ipv6_hdr() 346 ip6h->payload_len = htons(skb->len - sizeof(*ip6h)); in prepare_ipv6_hdr()
|
/drivers/net/ipvlan/ |
D | ipvlan_core.c | 156 struct ipv6hdr *ip6h; in ipvlan_get_L3_hdr() local 158 if (unlikely(!pskb_may_pull(skb, sizeof(*ip6h)))) in ipvlan_get_L3_hdr() 161 ip6h = ipv6_hdr(skb); in ipvlan_get_L3_hdr() 162 if (ip6h->version != 6) in ipvlan_get_L3_hdr() 166 lyr3h = ip6h; in ipvlan_get_L3_hdr() 168 if (ipv6_addr_any(&ip6h->saddr) && in ipvlan_get_L3_hdr() 169 ip6h->nexthdr == NEXTHDR_ICMP) { in ipvlan_get_L3_hdr() 171 lyr3h = ip6h + 1; in ipvlan_get_L3_hdr() 322 struct ipv6hdr *ip6h; in ipvlan_addr_lookup() local 325 ip6h = (struct ipv6hdr *)lyr3h; in ipvlan_addr_lookup() [all …]
|
/drivers/infiniband/hw/i40iw/ |
D | i40iw_utils.c | 1133 struct ipv6hdr *ip6h; in i40iw_ieq_get_qp() local 1143 ip6h = (struct ipv6hdr *)buf->iph; in i40iw_ieq_get_qp() 1144 i40iw_copy_ip_ntohl(loc_addr, ip6h->daddr.in6_u.u6_addr32); in i40iw_ieq_get_qp() 1145 i40iw_copy_ip_ntohl(rem_addr, ip6h->saddr.in6_u.u6_addr32); in i40iw_ieq_get_qp() 1190 struct ipv6hdr *ip6h; in i40iw_puda_get_tcpip_info() local 1213 ip6h = (struct ipv6hdr *)buf->iph; in i40iw_puda_get_tcpip_info() 1214 pkt_len = ntohs(ip6h->payload_len) + iphlen; in i40iw_puda_get_tcpip_info()
|
D | i40iw_cm.c | 392 struct ipv6hdr *ip6h; in i40iw_form_cm_frame() local 423 packetsize = sizeof(*ip6h) + sizeof(*tcph); in i40iw_form_cm_frame() 468 ip6h = (struct ipv6hdr *)buf; in i40iw_form_cm_frame() 469 buf += sizeof(*ip6h); in i40iw_form_cm_frame() 482 ip6h->version = 6; in i40iw_form_cm_frame() 483 ip6h->flow_lbl[0] = 0; in i40iw_form_cm_frame() 484 ip6h->flow_lbl[1] = 0; in i40iw_form_cm_frame() 485 ip6h->flow_lbl[2] = 0; in i40iw_form_cm_frame() 486 ip6h->payload_len = htons(packetsize - sizeof(*ip6h)); in i40iw_form_cm_frame() 487 ip6h->nexthdr = 6; in i40iw_form_cm_frame() [all …]
|
/drivers/net/ |
D | geneve.c | 186 struct ipv6hdr *ip6h; in geneve_lookup_skb() local 189 ip6h = ipv6_hdr(skb); /* outer IPv6 header... */ in geneve_lookup_skb() 196 addr6 = ip6h->saddr; in geneve_lookup_skb()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1107 const struct ipv6hdr *ip6h = (const struct ipv6hdr *)iph; in hwcsum() local 1109 if (ip6h->nexthdr == IPPROTO_TCP) in hwcsum() 1111 else if (ip6h->nexthdr == IPPROTO_UDP) in hwcsum()
|
/drivers/s390/net/ |
D | qeth_l3_main.c | 2725 struct ipv6hdr *ip6h = ipv6_hdr(skb); in qeth_tso_fill_header() local 2743 ip6h->payload_len = 0; in qeth_tso_fill_header() 2744 tcph->check = ~csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, in qeth_tso_fill_header()
|
/drivers/infiniband/core/ |
D | verbs.c | 335 const struct ipv6hdr *ip6h = (struct ipv6hdr *)&hdr->ibgrh; in ib_get_header_version() local 340 if (ip6h->version != 6) in ib_get_header_version()
|
/drivers/net/ethernet/ |
D | jme.c | 2110 struct ipv6hdr *ip6h = ipv6_hdr(skb); in jme_tx_tso() local 2112 tcp_hdr(skb)->check = ~csum_ipv6_magic(&ip6h->saddr, in jme_tx_tso() 2113 &ip6h->daddr, 0, in jme_tx_tso()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1084 const struct ipv6hdr *ip6h = (const struct ipv6hdr *)iph; in hwcsum() local 1086 if (ip6h->nexthdr == IPPROTO_TCP) in hwcsum() 1088 else if (ip6h->nexthdr == IPPROTO_UDP) in hwcsum()
|
/drivers/net/ethernet/marvell/ |
D | mvneta.c | 1826 struct ipv6hdr *ip6h = ipv6_hdr(skb); in mvneta_skb_tx_csum() local 1831 l4_proto = ip6h->nexthdr; in mvneta_skb_tx_csum()
|
D | mvpp2.c | 5030 struct ipv6hdr *ip6h = ipv6_hdr(skb); in mvpp2_skb_tx_csum() local 5035 l4_proto = ip6h->nexthdr; in mvpp2_skb_tx_csum()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 1091 struct ipv6hdr *ip6h = (struct ipv6hdr *)(skb->data + offset); in be_ipv6_exthdr_check() local 1094 if (ip6h->nexthdr != NEXTHDR_TCP && in be_ipv6_exthdr_check() 1095 ip6h->nexthdr != NEXTHDR_UDP) { in be_ipv6_exthdr_check()
|