Searched refs:daddr (Results 76 - 100 of 730) sorted by relevance

1234567891011>>

/linux-master/include/net/
H A Dinet_hashtables.h311 const __be32 daddr,
319 __be32 daddr, __be16 dport, int dif, int sdif)
322 daddr, ntohs(dport), dif, sdif);
374 const __be32 daddr, const u16 hnum,
388 __be32 daddr, unsigned short hnum,
395 __be32 daddr, u16 hnum, const int dif,
401 const __be32 daddr, const __be16 dport,
404 return __inet_lookup_established(net, hashinfo, saddr, sport, daddr,
412 const __be32 daddr, const __be16 dport,
420 daddr, hnu
315 inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, __be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif, int sdif) argument
399 inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) argument
408 __inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif, const int sdif, bool *refcounted) argument
429 inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) argument
448 inet_steal_sock(struct net *net, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, bool *refcounted, inet_ehashfn_t *ehashfn) argument
[all...]
H A Droute.h99 static inline __be32 rt_nexthop(const struct rtable *rt, __be32 daddr) argument
103 return daddr;
157 static inline struct rtable *ip_route_output(struct net *net, __be32 daddr, argument
165 .daddr = daddr,
174 __be32 daddr, __be32 saddr,
181 daddr, saddr, dport, sport, sock_net_uid(net, sk));
188 __be32 daddr, __be32 saddr,
193 fl4->daddr = daddr;
172 ip_route_output_ports(struct net *net, struct flowi4 *fl4, const struct sock *sk, __be32 daddr, __be32 saddr, __be16 dport, __be16 sport, __u8 proto, __u8 tos, int oif) argument
187 ip_route_output_gre(struct net *net, struct flowi4 *fl4, __be32 daddr, __be32 saddr, __be32 gre_key, __u8 tos, int oif) argument
374 ip_neigh_gw4(struct net_device *dev, __be32 daddr) argument
[all...]
H A Dflow.h80 /* (saddr,daddr) must be grouped, same order as in IP header */
82 __be32 daddr; member in struct:flowi4
96 __be32 daddr, __be32 saddr,
111 fl4->daddr = daddr;
120 __be32 daddr, __be32 saddr)
123 fl4->daddr = daddr;
140 struct in6_addr daddr; member in struct:flowi6
93 flowi4_init_output(struct flowi4 *fl4, int oif, __u32 mark, __u8 tos, __u8 scope, __u8 proto, __u8 flags, __be32 daddr, __be32 saddr, __be16 dport, __be16 sport, kuid_t uid) argument
119 flowi4_update_output(struct flowi4 *fl4, int oif, __be32 daddr, __be32 saddr) argument
H A Ddst_ops.h37 const void *daddr);
39 const void *daddr);
/linux-master/net/netfilter/
H A Dxt_iprange.c37 m = ntohl(iph->daddr) < ntohl(info->dst_min.ip);
38 m |= ntohl(iph->daddr) > ntohl(info->dst_max.ip);
42 &iph->daddr,
86 m = iprange_ipv6_lt(&iph->daddr, &info->dst_min.in6);
87 m |= iprange_ipv6_lt(&info->dst_max.in6, &iph->daddr);
91 &iph->daddr,
/linux-master/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_cm.c58 pr_debug("%s saddr 0x%x daddr 0x%x sport %u dport %u\n",
59 __func__, ntohl(ip->saddr), ntohl(ip->daddr),
63 memcpy(local_ip, &ip->daddr, 4);
65 pr_debug("%s saddr %pI6 daddr %pI6 sport %u dport %u\n",
66 __func__, ip6->saddr.s6_addr, ip6->daddr.s6_addr,
70 memcpy(local_ip, ip6->daddr.s6_addr, 16);
132 memcpy(&fl6.daddr, peer_ip, 16);
134 if (ipv6_addr_type(&fl6.daddr) & IPV6_ADDR_LINKLOCAL)
/linux-master/samples/bpf/
H A Dxdp_router_ipv4.bpf.c118 direct_entry = bpf_map_lookup_elem(&exact_match, &iph->daddr);
132 key4.b8[4] = iph->daddr & 0xff;
133 key4.b8[5] = (iph->daddr >> 8) & 0xff;
134 key4.b8[6] = (iph->daddr >> 16) & 0xff;
135 key4.b8[7] = (iph->daddr >> 24) & 0xff;
146 dest_mac = bpf_map_lookup_elem(&arp_table, &iph->daddr);
/linux-master/net/llc/
H A Dllc_s_ac.c58 ev->daddr.lsap, LLC_PDU_CMD);
60 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac);
83 ev->daddr.lsap, LLC_PDU_CMD);
85 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac);
139 ev->daddr.lsap, LLC_PDU_CMD);
141 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_benchmark.c32 uint64_t saddr, uint64_t daddr, int n, s64 *time_ms)
41 r = amdgpu_copy_buffer(ring, saddr, daddr, size, NULL, &fence,
80 uint64_t saddr, daddr; local
96 &daddr,
102 r = amdgpu_benchmark_do_move(adev, size, saddr, daddr, n, &time_ms);
118 amdgpu_bo_free_kernel(&dobj, &daddr, NULL);
31 amdgpu_benchmark_do_move(struct amdgpu_device *adev, unsigned size, uint64_t saddr, uint64_t daddr, int n, s64 *time_ms) argument
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_fwd.h112 uint32_t daddr, uint16_t dport)
118 if (daddr) {
120 filter->u.ipv4.dst_addr = daddr;
111 usnic_fwd_init_udp_filter(struct filter *filter, uint32_t daddr, uint16_t dport) argument
/linux-master/include/uapi/linux/netfilter_bridge/
H A Debt_ip6.h35 struct in6_addr daddr; member in struct:ebt_ip6_info
/linux-master/net/802/
H A Dfc.c34 const void *daddr, const void *saddr, unsigned int len)
66 if(daddr)
68 memcpy(fch->daddr,daddr,dev->addr_len);
32 fc_header(struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned int len) argument
/linux-master/net/netfilter/ipvs/
H A Dip_vs_proto_ah_esp.c47 &iph->daddr, htons(PORT_ISAKMP), p);
50 &iph->daddr, htons(PORT_ISAKMP),
73 IP_VS_DBG_ADDR(af, &iph->daddr));
95 IP_VS_DBG_ADDR(af, &iph->daddr));
H A Dip_vs_xmit.c15 * - bypass connections use daddr from packet
51 IP_VS_RT_MODE_RDR = 4, /* Allow redirect from remote daddr to
122 /* Get route to daddr, update *saddr, optionally bind route to saddr */
123 static struct rtable *do_output_route4(struct net *net, __be32 daddr, argument
131 fl4.daddr = daddr;
142 flowi4_update_output(&fl4, 0, daddr, 0);
145 IP_VS_DBG_RL("ip_route_output error, dest: %pI4\n", &daddr);
150 flowi4_update_output(&fl4, 0, daddr, fl4.saddr);
309 __be32 daddr, in
307 __ip_vs_get_out_rt(struct netns_ipvs *ipvs, int skb_af, struct sk_buff *skb, struct ip_vs_dest *dest, __be32 daddr, int rt_mode, __be32 *ret_saddr, struct ip_vs_iphdr *ipvsh) argument
429 __ip_vs_route_output_v6(struct net *net, struct in6_addr *daddr, struct in6_addr *ret_saddr, int do_xfrm, int rt_mode) argument
469 __ip_vs_get_out_rt_v6(struct netns_ipvs *ipvs, int skb_af, struct sk_buff *skb, struct ip_vs_dest *dest, struct in6_addr *daddr, struct in6_addr *ret_saddr, struct ip_vs_iphdr *ipvsh, int do_xfrm, int rt_mode) argument
[all...]
/linux-master/drivers/staging/media/ipu3/
H A Dipu3-css-pool.h17 * @daddr: iova dma address to access IPU3.
23 dma_addr_t daddr; member in struct:imgu_css_map
/linux-master/net/ipv4/netfilter/
H A Dipt_rpfilter.c68 if (ipv4_is_lbcast(iph->daddr) ||
69 ipv4_is_local_multicast(iph->daddr))
75 flow.daddr = iph->saddr;
76 flow.saddr = rpfilter_get_saddr(iph->daddr);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_lwt_reroute.c9 /* This function extracts the last byte of the daddr, and uses it
27 skb->mark = bpf_ntohl(iph->daddr) & 0xff;
H A Dtest_bpf_nf.c32 __be32 daddr = 0; variable
146 bpf_tuple.ipv4.daddr = bpf_get_prandom_u32(); /* dst IP */
156 union nf_inet_addr daddr = {}; local
166 daddr.ip = bpf_get_prandom_u32();
167 bpf_ct_set_nat_info(ct, &daddr, dport, NF_NAT_MANIP_DST___local);
183 if (tuple->src.u3.ip == daddr.ip &&
206 bpf_tuple.ipv4.daddr = daddr;
/linux-master/fs/xfs/
H A Dxfs_buf_mem.h24 bool xmbuf_verify_daddr(struct xfs_buftarg *btp, xfs_daddr_t daddr);
/linux-master/fs/xfs/scrub/
H A Dreap.h21 xfs_daddr_t daddr; member in struct:xrep_bufscan
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_recv.c114 struct in_addr *daddr = local
117 if ((ip_hdr(skb)->daddr != saddr->s_addr) ||
118 (ip_hdr(skb)->saddr != daddr->s_addr))
124 struct in6_addr *daddr = local
127 if (memcmp(&ipv6_hdr(skb)->daddr, saddr, sizeof(*saddr)) ||
128 memcmp(&ipv6_hdr(skb)->saddr, daddr, sizeof(*daddr)))
200 ipv6_addr_set_v4mapped(ip_hdr(skb)->daddr,
203 memcpy(&dgid, &ipv6_hdr(skb)->daddr, sizeof(dgid));
295 ipv6_addr_set_v4mapped(ip_hdr(skb)->daddr,
[all...]
/linux-master/net/ipv6/
H A Dudp.c120 const struct in6_addr *daddr, unsigned short hnum,
132 if (!ipv6_addr_equal(&sk->sk_v6_rcv_saddr, daddr))
166 const struct in6_addr *daddr, unsigned int hnum,
180 sport, daddr, hnum, dif, sdif);
193 saddr, sport, daddr, hnum, udp6_ehashfn);
223 const struct in6_addr *daddr, __be16 dport,
232 hash2 = ipv6_portaddr_hash(net, daddr, hnum);
238 daddr, hnum, dif, sdif,
247 saddr, sport, daddr, hnum, dif,
281 &iph->daddr, dpor
118 compute_score(struct sock *sk, struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, unsigned short hnum, int dif, int sdif) argument
164 udp6_lib_lookup2(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, unsigned int hnum, int dif, int sdif, struct udp_hslot *hslot2, struct sk_buff *skb) argument
221 __udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, __be16 dport, int dif, int sdif, struct udp_table *udptable, struct sk_buff *skb) argument
304 udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, __be16 dport, int dif) argument
575 const struct in6_addr *daddr = seg6_get_daddr(skb, opt) ? : &hdr->daddr; local
843 __udp6_lib_mcast_deliver(struct net *net, struct sk_buff *skb, const struct in6_addr *saddr, const struct in6_addr *daddr, struct udp_table *udptable, int proto) argument
941 const struct in6_addr *saddr, *daddr; local
1182 udp6_hwcsum_outgoing(struct sock *sk, struct sk_buff *skb, const struct in6_addr *saddr, const struct in6_addr *daddr, int len) argument
1336 struct in6_addr *daddr, *final_p, final; local
1370 daddr); local
[all...]
/linux-master/drivers/media/platform/chips-media/wave5/
H A Dwave5-vdi.c29 dev_dbg(dev, "[VDI] common_mem: daddr=%pad size=%zu vaddr=0x%p\n",
30 &vpu_dev->common_mem.daddr, vpu_dev->common_mem.size, vpu_dev->common_mem.vaddr);
116 dma_addr_t daddr; local
123 vaddr = dma_alloc_coherent(vpu_dev->dev, vb->size, &daddr, GFP_KERNEL);
127 vb->daddr = daddr;
140 dma_free_coherent(vpu_dev->dev, vb->size, vb->vaddr, vb->daddr);
184 &vb->daddr);
189 dev_dbg(vpu_dev->dev, "%s: sram daddr: %pad, size: %zu, vaddr: 0x%p\n",
190 __func__, &vb->daddr, v
[all...]
/linux-master/net/ipv4/
H A Dinetpeer.c52 * daddr: unchangeable
88 static struct inet_peer *lookup(const struct inetpeer_addr *daddr, argument
109 cmp = inetpeer_addr_cmp(daddr, &p->daddr);
177 const struct inetpeer_addr *daddr,
190 p = lookup(daddr, base, seq, NULL, &gc_cnt, &parent, &pp);
208 p = lookup(daddr, base, seq, gc_stack, &gc_cnt, &parent, &pp);
212 p->daddr = *daddr;
176 inet_getpeer(struct inet_peer_base *base, const struct inetpeer_addr *daddr, int create) argument
/linux-master/fs/xfs/libxfs/
H A Dxfs_btree_mem.h20 static inline xfbno_t xfs_daddr_to_xfbno(xfs_daddr_t daddr) argument
22 return daddr >> XFBNO_BBSHIFT;

Completed in 310 milliseconds

1234567891011>>