/drivers/infiniband/core/ |
D | ud_header.c | 121 { STRUCT_FIELD(ip4, ver), 125 { STRUCT_FIELD(ip4, hdr_len), 129 { STRUCT_FIELD(ip4, tos), 133 { STRUCT_FIELD(ip4, tot_len), 137 { STRUCT_FIELD(ip4, id), 141 { STRUCT_FIELD(ip4, frag_off), 145 { STRUCT_FIELD(ip4, ttl), 149 { STRUCT_FIELD(ip4, protocol), 153 { STRUCT_FIELD(ip4, check), 157 { STRUCT_FIELD(ip4, saddr), [all …]
|
D | cma.c | 398 } ip4; member 1279 .sin_addr.s_addr = hdr->dst_addr.ip4.addr, in cma_save_ip4_info() 1287 .sin_addr.s_addr = hdr->src_addr.ip4.addr, in cma_save_ip4_info() 1557 hdr->dst_addr.ip4.addr != ip4_addr) in cma_match_private_data() 3644 cma_hdr->src_addr.ip4.addr = src4->sin_addr.s_addr; in cma_format_hdr() 3645 cma_hdr->dst_addr.ip4.addr = dst4->sin_addr.s_addr; in cma_format_hdr()
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | ipsec.c | 180 __be32 spi, bool ip4) in ixgbevf_ipsec_find_rx_state() argument 189 ((ip4 && *daddr == rsa->xs->id.daddr.a4) || in ixgbevf_ipsec_find_rx_state() 190 (!ip4 && !memcmp(daddr, &rsa->xs->id.daddr.a6, in ixgbevf_ipsec_find_rx_state() 550 struct iphdr *ip4 = NULL; in ixgbevf_ipsec_rx() local 563 ip4 = (struct iphdr *)(skb->data + ETH_HLEN); in ixgbevf_ipsec_rx() 564 daddr = &ip4->daddr; in ixgbevf_ipsec_rx() 565 c_hdr = (u8 *)ip4 + ip4->ihl * 4; in ixgbevf_ipsec_rx() 587 xs = ixgbevf_ipsec_find_rx_state(ipsec, daddr, proto, spi, !!ip4); in ixgbevf_ipsec_rx()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.c | 394 __be32 spi, bool ip4) in ixgbe_ipsec_find_rx_state() argument 405 ((ip4 && *daddr == rsa->xs->id.daddr.a4) || in ixgbe_ipsec_find_rx_state() 406 (!ip4 && !memcmp(daddr, &rsa->xs->id.daddr.a6, in ixgbe_ipsec_find_rx_state() 1163 struct iphdr *ip4 = NULL; in ixgbe_ipsec_rx() local 1176 ip4 = (struct iphdr *)(skb->data + ETH_HLEN); in ixgbe_ipsec_rx() 1177 daddr = &ip4->daddr; in ixgbe_ipsec_rx() 1178 c_hdr = (u8 *)ip4 + ip4->ihl * 4; in ixgbe_ipsec_rx() 1200 xs = ixgbe_ipsec_find_rx_state(ipsec, daddr, proto, spi, !!ip4); in ixgbe_ipsec_rx()
|
/drivers/net/ipvlan/ |
D | ipvlan.h | 79 struct in_addr ip4; /* IPv4 address on logical interface */ member 82 #define ip4addr ipu.ip4
|
/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 246 struct sockaddr_in ip4; member 251 struct sockaddr_in ip4; member
|
/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 470 udh->ip4.protocol = IPPROTO_UDP; in qedr_gsi_build_header() 471 udh->ip4.tos = htonl(grh->flow_label); in qedr_gsi_build_header() 472 udh->ip4.frag_off = htons(IP_DF); in qedr_gsi_build_header() 473 udh->ip4.ttl = grh->hop_limit; in qedr_gsi_build_header() 476 udh->ip4.saddr = ipv4_addr; in qedr_gsi_build_header() 478 udh->ip4.daddr = ipv4_addr; in qedr_gsi_build_header()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 872 struct iphdr *ip4; in mlx5e_skb_csum_fixup() local 888 ip4 = (struct iphdr *)(skb->data + network_depth); in mlx5e_skb_csum_fixup() 889 pkt_len = network_depth + ntohs(ip4->tot_len); in mlx5e_skb_csum_fixup()
|
D | en_tc.c | 2203 struct iphdr ip4; member 2217 [FLOW_ACT_MANGLE_HDR_TYPE_IP4] = offsetof(struct pedit_headers, ip4), 2298 OFFLOAD(IP_TTL, 1, ip4.ttl, 0, ttl_hoplimit), 2299 OFFLOAD(SIPV4, 4, ip4.saddr, 0, src_ipv4_src_ipv6.ipv4_layout.ipv4), 2300 OFFLOAD(DIPV4, 4, ip4.daddr, 0, dst_ipv4_dst_ipv6.ipv4_layout.ipv4),
|
/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 1920 qp->qp1_hdr.ip4.tos = 0; in bnxt_re_build_qp1_send_v2() 1921 qp->qp1_hdr.ip4.id = 0; in bnxt_re_build_qp1_send_v2() 1922 qp->qp1_hdr.ip4.frag_off = htons(IP_DF); in bnxt_re_build_qp1_send_v2() 1923 qp->qp1_hdr.ip4.ttl = qplib_ah->hop_limit; in bnxt_re_build_qp1_send_v2() 1925 memcpy(&qp->qp1_hdr.ip4.saddr, sgid_attr->gid.raw + 12, 4); in bnxt_re_build_qp1_send_v2() 1926 memcpy(&qp->qp1_hdr.ip4.daddr, qplib_ah->dgid.data + 12, 4); in bnxt_re_build_qp1_send_v2() 1927 qp->qp1_hdr.ip4.check = ib_ud_ip4_csum(&qp->qp1_hdr); in bnxt_re_build_qp1_send_v2()
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 3134 sqp->ud_header.ip4.tos = in build_mlx_header() 3136 sqp->ud_header.ip4.id = 0; in build_mlx_header() 3137 sqp->ud_header.ip4.frag_off = htons(IP_DF); in build_mlx_header() 3138 sqp->ud_header.ip4.ttl = ah->av.eth.hop_limit; in build_mlx_header() 3140 memcpy(&sqp->ud_header.ip4.saddr, in build_mlx_header() 3142 memcpy(&sqp->ud_header.ip4.daddr, ah->av.ib.dgid + 12, 4); in build_mlx_header() 3143 sqp->ud_header.ip4.check = ib_ud_ip4_csum(&sqp->ud_header); in build_mlx_header()
|
/drivers/s390/net/ |
D | qeth_core_mpc.h | 355 __u8 ip4[4]; member
|
D | qeth_l3_main.c | 389 memcpy(&cmd->data.setdelipm.ip4, &addr->u.a4.addr, 4); in qeth_l3_send_setdelmc()
|
/drivers/net/hyperv/ |
D | hyperv_net.h | 1341 u8 ip4; member
|
D | rndis_filter.c | 1255 if (hwcaps.rsc.ip4 && hwcaps.rsc.ip6) { in rndis_netdev_set_hwcaps()
|