Home
last modified time | relevance | path

Searched refs:ip4 (Results 1 – 15 of 15) sorted by relevance

/drivers/infiniband/core/
Dud_header.c121 { 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 …]
Dcma.c398 } 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/
Dipsec.c180 __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/
Dixgbe_ipsec.c394 __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/
Dipvlan.h79 struct in_addr ip4; /* IPv4 address on logical interface */ member
82 #define ip4addr ipu.ip4
/drivers/infiniband/ulp/srp/
Dib_srp.h246 struct sockaddr_in ip4; member
251 struct sockaddr_in ip4; member
/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c470 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/
Den_rx.c872 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()
Den_tc.c2203 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/
Dib_verbs.c1920 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/
Dqp.c3134 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/
Dqeth_core_mpc.h355 __u8 ip4[4]; member
Dqeth_l3_main.c389 memcpy(&cmd->data.setdelipm.ip4, &addr->u.a4.addr, 4); in qeth_l3_send_setdelmc()
/drivers/net/hyperv/
Dhyperv_net.h1341 u8 ip4; member
Drndis_filter.c1255 if (hwcaps.rsc.ip4 && hwcaps.rsc.ip6) { in rndis_netdev_set_hwcaps()