/linux-master/net/ipv6/netfilter/ |
H A D | nf_reject_ipv6.c | 138 csum_ipv6_magic(&nip6h->saddr, &nip6h->daddr, 212 ip6h->saddr = oip6h->daddr; 213 ip6h->daddr = oip6h->saddr; 256 &ipv6_hdr(nskb)->daddr, 269 fl.u.ip6.daddr = ipv6_hdr(skb_in)->saddr; 291 (!(ipv6_addr_type(&oip6h->daddr) & IPV6_ADDR_UNICAST))) { 302 fl6.saddr = oip6h->daddr; 303 fl6.daddr = oip6h->saddr;
|
H A D | ip6t_NPT.c | 112 ipv6_addr_prefix(&bounced_pfx, &bounced_hdr->daddr, npt->src_pfx_len); 114 ip6t_npt_map_pfx(npt, &bounced_hdr->daddr); 128 if (!ip6t_npt_map_pfx(npt, &ipv6_hdr(skb)->daddr)) { 130 offsetof(struct ipv6hdr, daddr));
|
/linux-master/net/ipv4/ |
H A D | ip_tunnel.c | 98 remote != t->parms.iph.daddr || 111 if (remote != t->parms.iph.daddr || 129 if ((local != t->parms.iph.saddr || t->parms.iph.daddr != 0) && 130 (local != t->parms.iph.daddr || !ipv4_is_multicast(local))) 148 t->parms.iph.daddr != 0 || 180 if (parms->iph.daddr && !ipv4_is_multicast(parms->iph.daddr)) 181 remote = parms->iph.daddr; 212 __be32 remote = parms->iph.daddr; 222 remote == t->parms.iph.daddr 544 __be32 daddr; local [all...] |
H A D | xfrm4_output.c | 44 ip_local_error(skb->sk, EMSGSIZE, hdr->daddr,
|
H A D | ipcomp.c | 42 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, 68 t->id.daddr.a4 = x->id.daddr.a4; 103 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr.a4,
|
/linux-master/net/ipv6/ |
H A D | seg6_iptunnel.c | 90 struct in6_addr *daddr, struct in6_addr *saddr) 102 ipv6_dev_get_saddr(net, dev, daddr, IPV6_PREFER_SRC_PUBLIC, 183 hdr->daddr = isrh->segments[isrh->first_segment]; 184 set_tun_src(net, dst->dev, &hdr->daddr, &hdr->saddr); 261 hdr->daddr = osrh->segments[first_seg]; 266 set_tun_src(net, dst->dev, &hdr->daddr, &hdr->saddr); 302 set_tun_src(net, dst->dev, &hdr->daddr, &hdr->saddr); 353 isrh->segments[0] = hdr->daddr; 354 hdr->daddr = isrh->segments[isrh->first_segment]; 547 fl6.daddr 89 set_tun_src(struct net *net, struct net_device *dev, struct in6_addr *daddr, struct in6_addr *saddr) argument [all...] |
H A D | ipcomp6.c | 59 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, 88 memcpy(t->id.daddr.a6, x->id.daddr.a6, sizeof(struct in6_addr)); 121 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr,
|
/linux-master/tools/testing/selftests/net/ |
H A D | txtimestamp.c | 81 static struct sockaddr_in daddr; variable in typeref:struct:sockaddr_in 276 static void print_pktinfo(int family, int ifindex, void *saddr, void *daddr) argument 283 daddr ? inet_ntop(family, daddr, da, sizeof(da)) : "unknown"); 440 iph->saddr = daddr.sin_addr.s_addr; /* set for udp csum calc */ 441 iph->daddr = daddr.sin_addr.s_addr; 461 ip6h->daddr = daddr6.sin6_addr; 544 if (connect(fd, (void *) &daddr, sizeof(daddr))) [all...] |
H A D | reuseport_addr_any.c | 107 struct sockaddr *saddr, *daddr; local 123 daddr = (struct sockaddr *)&daddr4; 136 daddr = (struct sockaddr *)&daddr6; 141 * the program, so it complains that saddr, daddr, sz are 159 if (connect(fd, daddr, sz))
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ipsec.c | 385 * @daddr: inbound address to match 393 __be32 *daddr, u8 proto, 405 ((ip4 && *daddr == rsa->xs->id.daddr.a4) || 406 (!ip4 && !memcmp(daddr, &rsa->xs->id.daddr.a6, 407 sizeof(rsa->xs->id.daddr.a6)))) && 514 if (reg == (__force u32)xs->id.daddr.a4) 521 if (reg == (__force u32)xs->id.daddr.a4) 536 if (reg != (__force u32)xs->id.daddr 392 ixgbe_ipsec_find_rx_state(struct ixgbe_ipsec *ipsec, __be32 *daddr, u8 proto, __be32 spi, bool ip4) argument 1176 void *daddr; local [all...] |
/linux-master/include/net/ |
H A D | xfrm.h | 97 3. ->id.daddr Remote tunnel endpoint, ignored for transport mode. 352 const xfrm_address_t *daddr, 356 xfrm_address_t *daddr, 469 * daddr - destination of tunnel, may be zero for transport mode. 471 * daddr must be fixed too. 946 * routing key, including saddr,daddr. However, we can have many of 1324 return (xfrm_address_t *)&fl->u.ip4.daddr; 1326 return (xfrm_address_t *)&fl->u.ip6.daddr; 1345 xfrm_address_t *saddr, xfrm_address_t *daddr, 1351 memcpy(&daddr 1344 xfrm_flowi_addr_get(const struct flowi *fl, xfrm_address_t *saddr, xfrm_address_t *daddr, unsigned short family) argument 1361 __xfrm4_state_addr_check(const struct xfrm_state *x, const xfrm_address_t *daddr, const xfrm_address_t *saddr) argument 1371 __xfrm6_state_addr_check(const struct xfrm_state *x, const xfrm_address_t *daddr, const xfrm_address_t *saddr) argument 1383 xfrm_state_addr_check(const struct xfrm_state *x, const xfrm_address_t *daddr, const xfrm_address_t *saddr, unsigned short family) argument [all...] |
H A D | llc_s_ev.h | 45 struct llc_addr daddr; member in struct:llc_sap_state_ev
|
/linux-master/net/netfilter/ |
H A D | xt_pkttype.c | 31 ipv4_is_multicast(ip_hdr(skb)->daddr))
|
H A D | xt_addrtype.c | 42 flow.daddr = *addr; 98 ret &= match_type6(net, dev, &iph->daddr, info->dest) ^ 122 ret &= match_type(net, NULL, iph->daddr, info->dest) ^ 151 ret &= match_type(net, dev, iph->daddr, info->dest) ^
|
H A D | xt_TPROXY.c | 52 iph->saddr, iph->daddr, 56 laddr = nf_tproxy_laddr4(skb, laddr, iph->daddr); 129 &iph->saddr, &iph->daddr, 133 laddr = nf_tproxy_laddr6(skb, &tgi->laddr.in6, &iph->daddr);
|
H A D | nft_rt.c | 32 fl.u.ip4.daddr = ip_hdr(skb)->saddr; 36 fl.u.ip6.daddr = ipv6_hdr(skb)->saddr; 77 ip_hdr(skb)->daddr); 84 &ipv6_hdr(skb)->daddr),
|
/linux-master/arch/hexagon/lib/ |
H A D | checksum.c | 50 __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, argument 54 (__force u64)saddr + (__force u64)daddr + 58 __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, argument 63 result = (__force u64)saddr + (__force u64)daddr +
|
/linux-master/include/uapi/linux/ |
H A D | if_fddi.h | 112 __u8 daddr[FDDI_K_ALEN]; /* destination address */ member in struct:fddihdr
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_queue_stack_map.h | 48 iph->daddr = value;
|
H A D | test_lwt_redirect.c | 37 return bpf_ntohl(iph->daddr) & 0xff;
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ipip.h | 32 union mlxsw_sp_l3addr daddr; member in struct:mlxsw_sp_ipip_parms
|
/linux-master/net/bridge/ |
H A D | br_nf_core.c | 42 const void *daddr) 40 fake_neigh_lookup(const struct dst_entry *dst, struct sk_buff *skb, const void *daddr) argument
|
/linux-master/include/linux/ |
H A D | mroute.h | 93 __be32 saddr, __be32 daddr,
|
/linux-master/fs/jfs/ |
H A D | jfs_extent.c | 303 s64 nb, nblks, daddr, max; local 326 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { 342 *blkno = daddr; 345 ag = BLKTOAG(daddr, sbi);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun.c | 156 n = dst_neigh_lookup(&rt->dst, &attr->fl.fl4.daddr); 240 attr.fl.fl4.daddr = tun_key->u.ipv4.dst; 294 ip->daddr = attr.fl.fl4.daddr; 356 attr.fl.fl4.daddr = tun_key->u.ipv4.dst; 399 ip->daddr = attr.fl.fl4.daddr; 471 n = dst_neigh_lookup(dst, &attr->fl.fl6.daddr); 512 attr.fl.fl6.daddr = tun_key->u.ipv6.dst; 564 ip6h->daddr [all...] |