Searched refs:daddr (Results 51 - 75 of 730) sorted by relevance

1234567891011>>

/linux-master/net/ipv6/netfilter/
H A Dip6table_mangle.c34 struct in6_addr saddr, daddr; local
42 memcpy(&daddr, &ipv6_hdr(skb)->daddr, sizeof(daddr));
54 !ipv6_addr_equal(&ipv6_hdr(skb)->daddr, &daddr) ||
H A Dnf_tproxy_ipv6.c11 const struct in6_addr *daddr)
34 return laddr ? laddr : daddr;
61 nf_tproxy_laddr6(skb, laddr, &iph->daddr),
78 const struct in6_addr *saddr, const struct in6_addr *daddr,
100 daddr, ntohs(dport),
112 sk = __inet6_lookup_established(net, hinfo, saddr, sport, daddr,
121 sk = udp6_lib_lookup(net, saddr, sport, daddr, dport,
145 protocol, saddr, ntohs(sport), daddr, ntohs(dport), lookup_type, sk);
10 nf_tproxy_laddr6(struct sk_buff *skb, const struct in6_addr *user_laddr, const struct in6_addr *daddr) argument
76 nf_tproxy_get_sock_v6(struct net *net, struct sk_buff *skb, int thoff, const u8 protocol, const struct in6_addr *saddr, const struct in6_addr *daddr, const __be16 sport, const __be16 dport, const struct net_device *in, const enum nf_tproxy_lookup_t lookup_type) argument
/linux-master/net/ieee802154/6lowpan/
H A Dtx.c14 struct ieee802154_addr daddr; member in struct:lowpan_addr_info
34 unsigned short type, const void *daddr,
43 if (!daddr)
54 info->daddr.pan_id = info->saddr.pan_id;
56 if (!memcmp(daddr, ldev->broadcast, EUI64_ADDR_LEN)) {
57 info->daddr.short_addr = cpu_to_le16(IEEE802154_ADDR_BROADCAST);
58 info->daddr.mode = IEEE802154_ADDR_SHORT;
62 n = neigh_lookup(&nd_tbl, &hdr->daddr, ldev);
72 info->daddr.short_addr = short_addr;
73 info->daddr
33 lowpan_header_create(struct sk_buff *skb, struct net_device *ldev, unsigned short type, const void *daddr, const void *saddr, unsigned int len) argument
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_custom_syncookie.h55 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, argument
61 s += (__force u32)daddr;
80 static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, argument
83 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum));
88 const struct in6_addr *daddr,
112 sum += (__force u32)daddr->in6_u.u6_addr32[0];
113 carry = (sum < (__force u32)daddr->in6_u.u6_addr32[0]);
116 sum += (__force u32)daddr->in6_u.u6_addr32[1];
117 carry = (sum < (__force u32)daddr->in6_u.u6_addr32[1]);
120 sum += (__force u32)daddr
87 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __u32 len, __u8 proto, __wsum csum) argument
[all...]
H A Dtest_lwt_ip_encap.c32 hdr.iph.daddr = 0x641010ac; /* 172.16.16.100 */
35 hdr.iph.daddr = 0xac101064; /* 172.16.16.100 */
71 hdr.ip6hdr.daddr.s6_addr[0] = 0xfb;
72 hdr.ip6hdr.daddr.s6_addr[1] = 0x10;
73 hdr.ip6hdr.daddr.s6_addr[15] = 1;
H A Dtest_xdp.c103 vip.daddr.v4 = iph->daddr;
136 iph->daddr = tnl->daddr.v4;
173 memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr));
205 memcpy(ip6h->daddr.s6_addr32, tnl->daddr.v6, sizeof(tnl->daddr
[all...]
H A Dtest_xdp_loop.c99 vip.daddr.v4 = iph->daddr;
132 iph->daddr = tnl->daddr.v4;
169 memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr));
201 memcpy(ip6h->daddr.s6_addr32, tnl->daddr.v6, sizeof(tnl->daddr
[all...]
/linux-master/include/trace/events/
H A Dtcp.h36 __array(__u8, daddr, 4)
56 p32 = (__be32 *) __entry->daddr;
63 TP_printk("skbaddr=%p skaddr=%p family=%s sport=%hu dport=%hu saddr=%pI4 daddr=%pI4 saddrv6=%pI6c daddrv6=%pI6c state=%s",
66 __entry->sport, __entry->dport, __entry->saddr, __entry->daddr,
105 __array(__u8, daddr, sizeof(struct sockaddr_in6))
115 memset(__entry->daddr, 0, sizeof(struct sockaddr_in6));
127 TP_STORE_ADDR_PORTS_SKB(skb, th, entry->daddr, entry->saddr);
134 __entry->saddr, __entry->daddr,
159 __array(__u8, daddr, 4)
178 p32 = (__be32 *) __entry->daddr;
[all...]
H A Dicmp.h22 __array(__u8, daddr, 4)
53 p32 = (__be32 *) __entry->daddr;
54 *p32 = iph->daddr;
59 __entry->saddr, __entry->sport, __entry->daddr,
/linux-master/net/ipv6/
H A Dinet6_hashtables.c53 const struct in6_addr *daddr,
63 unsigned int hash = inet6_ehashfn(net, daddr, hnum, saddr, sport);
72 if (!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))
77 if (unlikely(!inet6_match(net, sk, saddr, daddr, ports, dif, sdif))) {
94 const struct in6_addr *daddr,
101 if (!ipv6_addr_equal(&sk->sk_v6_rcv_saddr, daddr))
122 * @daddr: destination address.
133 const struct in6_addr *daddr,
142 net, daddr, hnum, saddr, sport);
154 const __be16 sport, const struct in6_addr *daddr,
49 __inet6_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, const int sdif) argument
92 compute_score(struct sock *sk, struct net *net, const unsigned short hnum, const struct in6_addr *daddr, const int dif, const int sdif) argument
129 inet6_lookup_reuseport(struct net *net, struct sock *sk, struct sk_buff *skb, int doff, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, unsigned short hnum, inet6_ehashfn_t *ehashfn) argument
150 inet6_lhash2_lookup(struct net *net, struct inet_listen_hashbucket *ilb2, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const unsigned short hnum, const int dif, const int sdif) argument
177 inet6_lookup_run_sk_lookup(struct net *net, int protocol, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const u16 hnum, const int dif, inet6_ehashfn_t *ehashfn) argument
202 inet6_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const unsigned short hnum, const int dif, const int sdif) argument
246 inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const struct in6_addr *saddr, const __be16 sport, const struct in6_addr *daddr, const __be16 dport, const int dif) argument
269 const struct in6_addr *daddr = &sk->sk_v6_rcv_saddr; local
[all...]
H A Dsyncookies.c41 const struct in6_addr *daddr,
46 struct in6_addr daddr; member in struct:__anon3397
52 .daddr = *daddr,
64 const struct in6_addr *daddr,
69 return (cookie_hash(saddr, daddr, sport, dport, 0, 0) +
71 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data)
76 const struct in6_addr *daddr, __be16 sport,
81 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq;
88 cookie_hash(saddr, daddr, spor
40 cookie_hash(const struct in6_addr *saddr, const struct in6_addr *daddr, __be16 sport, __be16 dport, u32 count, int c) argument
63 secure_tcp_syn_cookie(const struct in6_addr *saddr, const struct in6_addr *daddr, __be16 sport, __be16 dport, __u32 sseq, __u32 data) argument
75 check_tcp_syn_cookie(__u32 cookie, const struct in6_addr *saddr, const struct in6_addr *daddr, __be16 sport, __be16 dport, __u32 sseq) argument
[all...]
/linux-master/arch/arc/include/asm/
H A Dchecksum.h70 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, argument
80 : "r"(saddr), "r"(daddr),
/linux-master/include/net/netfilter/
H A Dnf_queue.h51 if ((__force u32)iph->saddr < (__force u32)iph->daddr)
53 (__force u32)iph->daddr, iph->protocol, initval);
55 return jhash_3words((__force u32)iph->daddr,
64 (__force u32)ip6h->daddr.s6_addr32[3]) {
66 b = (__force u32) ip6h->daddr.s6_addr32[3];
69 a = (__force u32) ip6h->daddr.s6_addr32[3];
73 (__force u32)ip6h->daddr.s6_addr32[1])
76 c = (__force u32) ip6h->daddr.s6_addr32[1];
/linux-master/tools/perf/util/
H A Dmem-info.h12 struct addr_map_symbol daddr; local
36 return &RC_CHK_ACCESS(mi)->daddr;
/linux-master/drivers/media/platform/chips-media/wave5/
H A Dwave5-vdi.h28 dma_addr_t daddr; member in struct:vpu_buf
/linux-master/arch/alpha/include/asm/
H A Dchecksum.h17 __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr,
20 __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
72 const struct in6_addr *daddr,
/linux-master/arch/x86/lib/
H A Dcsum-wrappers_64.c72 const struct in6_addr *daddr,
82 " adcq (%[daddr]),%[sum]\n"
83 " adcq 8(%[daddr]),%[sum]\n"
87 : "[sum]" (rest), [saddr] "r" (saddr), [daddr] "r" (daddr));
71 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __u32 len, __u8 proto, __wsum sum) argument
/linux-master/net/phonet/
H A Dpn_dev.c173 u8 phonet_address_get(struct net_device *dev, u8 daddr) argument
184 if (test_bit(daddr >> 2, pnd->addrs))
185 saddr = daddr;
199 saddr = phonet_address_get(def_dev, daddr);
356 int phonet_route_add(struct net_device *dev, u8 daddr) argument
362 daddr = daddr >> 2;
364 if (routes->table[daddr] == NULL) {
365 rcu_assign_pointer(routes->table[daddr], dev);
373 int phonet_route_del(struct net_device *dev, u8 daddr) argument
393 phonet_route_get_rcu(struct net *net, u8 daddr) argument
404 phonet_route_output(struct net *net, u8 daddr) argument
[all...]
/linux-master/net/ipv4/netfilter/
H A Diptable_mangle.c41 __be32 saddr, daddr; local
50 daddr = iph->daddr;
60 iph->daddr != daddr ||
/linux-master/drivers/edac/
H A Dpnd2_edac.c97 struct dram_addr *daddr, char *msg);
906 struct dram_addr *daddr, char *msg)
963 daddr->col = column;
964 daddr->bank = bank;
965 daddr->row = row;
966 daddr->rank = rank;
967 daddr->dimm = 0;
976 struct dram_addr *daddr, char *msg)
979 daddr->rank = dnv_get_bit(pmiaddr, dmap[pmiidx].rs0 + 13, 0);
981 daddr
905 apl_pmi2mem(struct mem_ctl_info *mci, u64 pmiaddr, u32 pmiidx, struct dram_addr *daddr, char *msg) argument
975 dnv_pmi2mem(struct mem_ctl_info *mci, u64 pmiaddr, u32 pmiidx, struct dram_addr *daddr, char *msg) argument
1096 get_memory_error_data(struct mem_ctl_info *mci, u64 addr, struct dram_addr *daddr, char *msg) argument
1122 pnd2_mce_output_error(struct mem_ctl_info *mci, const struct mce *m, struct dram_addr *daddr) argument
1371 struct dram_addr daddr; local
1429 struct dram_addr daddr; local
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_benchmark.c36 uint64_t saddr, uint64_t daddr,
49 fence = radeon_copy_dma(rdev, saddr, daddr,
54 fence = radeon_copy_blit(rdev, saddr, daddr,
92 uint64_t saddr, daddr; local
116 r = radeon_bo_pin(dobj, ddomain, &daddr);
123 time = radeon_benchmark_do_move(rdev, size, saddr, daddr,
134 time = radeon_benchmark_do_move(rdev, size, saddr, daddr,
35 radeon_benchmark_do_move(struct radeon_device *rdev, unsigned size, uint64_t saddr, uint64_t daddr, int flag, int n, struct dma_resv *resv) argument
/linux-master/net/802/
H A Dfddi.c45 * daddr=NULL means leave destination address (eg unresolved arp)
50 const void *daddr, const void *saddr, unsigned int len)
77 if (daddr != NULL)
79 memcpy(fddi->daddr, daddr, dev->addr_len);
119 if (*fddi->daddr & 0x01)
121 if (memcmp(fddi->daddr, dev->broadcast, FDDI_K_ALEN) == 0)
129 if (memcmp(fddi->daddr, dev->dev_addr, FDDI_K_ALEN))
48 fddi_header(struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned int len) argument
/linux-master/samples/bpf/
H A Dxdp_tx_iptunnel_kern.c101 vip.daddr.v4 = iph->daddr;
136 iph->daddr = tnl->daddr.v4;
173 memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr));
208 memcpy(ip6h->daddr.s6_addr32, tnl->daddr.v6, sizeof(tnl->daddr
[all...]
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_tunnel_vxlan_ipv6.sh139 local daddr="20:01:0d:b8:00:01:00:00:00:00:00:00:00:00:00:01"
145 )"$dest_mac:"$( : ETH daddr
155 )"$daddr:"$( : IP daddr
199 local daddr="20:01:0d:b8:00:01:00:00:00:00:00:00:00:00:00:01"
205 )"$dest_mac:"$( : ETH daddr
215 )"$daddr:"$( : IP daddr
231 )"$dest_mac:"$( : ETH daddr
286 local daddr
[all...]
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_net.c26 struct in_addr *daddr)
34 memcpy(&fl.daddr, daddr, sizeof(*daddr));
39 rxe_dbg_qp(qp, "no route to %pI4\n", &daddr->s_addr);
50 struct in6_addr *daddr)
58 memcpy(&fl6.daddr, daddr, sizeof(*daddr));
65 rxe_dbg_qp(qp, "no route to %pI6\n", daddr);
23 rxe_find_route4(struct rxe_qp *qp, struct net_device *ndev, struct in_addr *saddr, struct in_addr *daddr) argument
47 rxe_find_route6(struct rxe_qp *qp, struct net_device *ndev, struct in6_addr *saddr, struct in6_addr *daddr) argument
82 rxe_find_route6(struct rxe_qp *qp, struct net_device *ndev, struct in6_addr *saddr, struct in6_addr *daddr) argument
107 struct in_addr *daddr; local
226 prepare_ipv4_hdr(struct dst_entry *dst, struct sk_buff *skb, __be32 saddr, __be32 daddr, __u8 proto, __u8 tos, __u8 ttl, __be16 df, bool xnet) argument
256 prepare_ipv6_hdr(struct dst_entry *dst, struct sk_buff *skb, struct in6_addr *saddr, struct in6_addr *daddr, __u8 proto, __u8 prio, __u8 ttl) argument
287 struct in_addr *daddr = &av->dgid_addr._sockaddr_in.sin_addr; local
311 struct in6_addr *daddr = &av->dgid_addr._sockaddr_in6.sin6_addr; local
[all...]

Completed in 411 milliseconds

1234567891011>>