/linux-master/drivers/infiniband/core/ |
H A D | cma.c | 382 } ip4; member in union:cma_ip_addr 1441 .sin_addr.s_addr = hdr->dst_addr.ip4.addr, 1449 .sin_addr.s_addr = hdr->src_addr.ip4.addr, 1719 hdr->dst_addr.ip4.addr != ip4_addr) 4174 cma_hdr->src_addr.ip4.addr = src4->sin_addr.s_addr; 4175 cma_hdr->dst_addr.ip4.addr = dst4->sin_addr.s_addr;
|
H A 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, sadd [all...] |
/linux-master/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.c | 2326 qp->qp1_hdr.ip4.tos = 0; 2327 qp->qp1_hdr.ip4.id = 0; 2328 qp->qp1_hdr.ip4.frag_off = htons(IP_DF); 2329 qp->qp1_hdr.ip4.ttl = qplib_ah->hop_limit; 2331 memcpy(&qp->qp1_hdr.ip4.saddr, sgid_attr->gid.raw + 12, 4); 2332 memcpy(&qp->qp1_hdr.ip4.daddr, qplib_ah->dgid.data + 12, 4); 2333 qp->qp1_hdr.ip4.check = ib_ud_ip4_csum(&qp->qp1_hdr);
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 3124 sqp->ud_header.ip4.tos = 3126 sqp->ud_header.ip4.id = 0; 3127 sqp->ud_header.ip4.frag_off = htons(IP_DF); 3128 sqp->ud_header.ip4.ttl = ah->av.eth.hop_limit; 3130 memcpy(&sqp->ud_header.ip4.saddr, 3132 memcpy(&sqp->ud_header.ip4.daddr, ah->av.ib.dgid + 12, 4); 3133 sqp->ud_header.ip4.check = ib_ud_ip4_csum(&sqp->ud_header);
|
/linux-master/drivers/infiniband/hw/qedr/ |
H A D | qedr_roce_cm.c | 468 udh->ip4.protocol = IPPROTO_UDP; 469 udh->ip4.tos = htonl(grh->flow_label); 470 udh->ip4.frag_off = htons(IP_DF); 471 udh->ip4.ttl = grh->hop_limit; 474 udh->ip4.saddr = ipv4_addr; 476 udh->ip4.daddr = ipv4_addr;
|
/linux-master/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.h | 245 struct sockaddr_in ip4; member in union:srp_target_port::__anon1030::__anon1032::__anon1033 251 struct sockaddr_in ip4; member in union:srp_target_port::__anon1030::__anon1032::__anon1034
|
/linux-master/drivers/net/ |
H A D | amt.c | 233 &snode->source_addr.ip4, 234 &gnode->group_addr.ip4); 266 &gnode->group_addr.ip4); 352 &snode->source_addr.ip4, 353 &gnode->group_addr.ip4, 499 &gnode->group_addr.ip4); 598 &tunnel->ip4, ntohs(tunnel->source_port), 1078 fl4.daddr = tunnel->ip4; 1083 netdev_dbg(amt->dev, "no route to %pI4\n", &tunnel->ip4); 1132 fl4.daddr = tunnel->ip4; [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ipsec.c | 388 * @ip4: true if using an ipv4 address 394 __be32 spi, bool ip4) 405 ((ip4 && *daddr == rsa->xs->id.daddr.a4) || 406 (!ip4 && !memcmp(daddr, &rsa->xs->id.daddr.a6, 1174 struct iphdr *ip4 = NULL; local 1187 ip4 = (struct iphdr *)(skb->data + ETH_HLEN); 1188 daddr = &ip4->daddr; 1189 c_hdr = (u8 *)ip4 + ip4->ihl * 4; 1211 xs = ixgbe_ipsec_find_rx_state(ipsec, daddr, proto, spi, !!ip4); 392 ixgbe_ipsec_find_rx_state(struct ixgbe_ipsec *ipsec, __be32 *daddr, u8 proto, __be32 spi, bool ip4) argument [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ipsec.c | 173 * @ip4: true if using an IPv4 address 180 __be32 spi, bool ip4) 189 ((ip4 && *daddr == rsa->xs->id.daddr.a4) || 190 (!ip4 && !memcmp(daddr, &rsa->xs->id.daddr.a6, 567 struct iphdr *ip4 = NULL; local 580 ip4 = (struct iphdr *)(skb->data + ETH_HLEN); 581 daddr = &ip4->daddr; 582 c_hdr = (u8 *)ip4 + ip4->ihl * 4; 604 xs = ixgbevf_ipsec_find_rx_state(ipsec, daddr, proto, spi, !!ip4); 178 ixgbevf_ipsec_find_rx_state(struct ixgbevf_ipsec *ipsec, __be32 *daddr, u8 proto, __be32 spi, bool ip4) argument [all...] |
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe.h | 174 struct mtk_ipv4_tuple ip4; member in struct:mtk_foe_ipv4_dslite
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | pedit.c | 12 [FLOW_ACT_MANGLE_HDR_TYPE_IP4] = offsetof(struct pedit_headers, ip4),
|
H A D | pedit.h | 12 struct iphdr ip4; member in struct:pedit_headers
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rx.c | 1444 struct iphdr *ip4; local 1460 ip4 = (struct iphdr *)(skb->data + network_depth); 1461 pkt_len = network_depth + ntohs(ip4->tot_len);
|
H A D | en_tc.c | 3129 OFFLOAD(IP_DSCP, 8, 0xfc, ip4.tos, 0, ip_dscp), 3130 OFFLOAD(IP_TTL, 8, U8_MAX, ip4.ttl, 0, ttl_hoplimit), 3131 OFFLOAD(SIPV4, 32, U32_MAX, ip4.saddr, 0, src_ipv4_src_ipv6.ipv4_layout.ipv4), 3132 OFFLOAD(DIPV4, 32, U32_MAX, ip4.daddr, 0, dst_ipv4_dst_ipv6.ipv4_layout.ipv4),
|
/linux-master/drivers/net/hyperv/ |
H A D | hyperv_net.h | 1493 u8 ip4; member in struct:ndis_rsc_offload
|
H A D | rndis_filter.c | 1419 if (hwcaps.rsc.ip4 && hwcaps.rsc.ip6) {
|
/linux-master/drivers/net/ipvlan/ |
H A D | ipvlan.h | 79 struct in_addr ip4; /* IPv4 address on logical interface */ member in union:ipvl_addr::__anon125 82 #define ip4addr ipu.ip4
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_mdb.c | 113 e->addr.u.ip4 = dst->sin.sin_addr.s_addr; 388 group->dst.sin.sin_addr.s_addr = entry->addr.u.ip4;
|
/linux-master/drivers/net/wireguard/selftest/ |
H A D | allowedips.c | 425 static __init inline struct in_addr *ip4(u8 a, u8 b, u8 c, u8 d) function 625 !memcmp(ip, ip4(192, 95, 5, 64), sizeof(struct in_addr))) 632 !memcmp(ip, ip4(10, 1, 0, 16), sizeof(struct in_addr)))
|
/linux-master/include/linux/ |
H A D | if_bridge.h | 18 __be32 ip4; member in union:br_ip::__anon2945 24 __be32 ip4; member in union:br_ip::__anon2946
|
/linux-master/include/net/ |
H A D | amt.h | 133 __be32 ip4; member in struct:amt_header_advertisement 248 __be32 ip4; member in struct:amt_tunnel_list 258 __be32 ip4; member in union:amt_addr
|
H A D | flow.h | 157 struct flowi4 ip4; member in union:flowi::__anon366 175 return container_of(fl4, struct flowi, u.ip4);
|
H A D | tcp.h | 1780 struct tcp4_pseudohdr ip4; member in union:tcp_md5sum_block
|
H A D | xfrm.h | 621 struct ip_tunnel *ip4; member in union:xfrm_tunnel_skb_cb::__anon2864 1328 return (xfrm_address_t *)&fl->u.ip4.daddr; 1340 return (xfrm_address_t *)&fl->u.ip4.saddr; 1354 memcpy(&saddr->a4, &fl->u.ip4.saddr, sizeof(saddr->a4)); 1355 memcpy(&daddr->a4, &fl->u.ip4.daddr, sizeof(daddr->a4)); 1407 (const xfrm_address_t *)&fl->u.ip4.daddr, 1408 (const xfrm_address_t *)&fl->u.ip4.saddr); 1683 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; 2118 if (XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4)
|
/linux-master/include/rdma/ |
H A D | ib_pack.h | 252 struct ib_unpacked_ip4 ip4; member in struct:ib_ud_header
|