Searched refs:ip4 (Results 1 - 25 of 66) sorted by path

123

/linux-master/drivers/infiniband/core/
H A Dcma.c382 } 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 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, sadd
[all...]
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c2326 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 Dqp.c3124 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 Dqedr_roce_cm.c468 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 Dib_srp.h245 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 Damt.c233 &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 Dixgbe_ipsec.c388 * @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 Dipsec.c173 * @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 Dmtk_ppe.h174 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 Dpedit.c12 [FLOW_ACT_MANGLE_HDR_TYPE_IP4] = offsetof(struct pedit_headers, ip4),
H A Dpedit.h12 struct iphdr ip4; member in struct:pedit_headers
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c1444 struct iphdr *ip4; local
1460 ip4 = (struct iphdr *)(skb->data + network_depth);
1461 pkt_len = network_depth + ntohs(ip4->tot_len);
H A Den_tc.c3129 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 Dhyperv_net.h1493 u8 ip4; member in struct:ndis_rsc_offload
H A Drndis_filter.c1419 if (hwcaps.rsc.ip4 && hwcaps.rsc.ip6) {
/linux-master/drivers/net/ipvlan/
H A Dipvlan.h79 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 Dvxlan_mdb.c113 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 Dallowedips.c425 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 Dif_bridge.h18 __be32 ip4; member in union:br_ip::__anon2945
24 __be32 ip4; member in union:br_ip::__anon2946
/linux-master/include/net/
H A Damt.h133 __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 Dflow.h157 struct flowi4 ip4; member in union:flowi::__anon366
175 return container_of(fl4, struct flowi, u.ip4);
H A Dtcp.h1780 struct tcp4_pseudohdr ip4; member in union:tcp_md5sum_block
H A Dxfrm.h621 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 Dib_pack.h252 struct ib_unpacked_ip4 ip4; member in struct:ib_ud_header

Completed in 397 milliseconds

123