Home
last modified time | relevance | path

Searched refs:daddr (Results 1 – 25 of 68) sorted by relevance

123

/include/net/
Dsecure_seq.h7 u64 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport);
8 u64 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr,
10 u32 secure_tcp_seq(__be32 saddr, __be32 daddr,
12 u32 secure_tcp_ts_off(const struct net *net, __be32 saddr, __be32 daddr);
13 u32 secure_tcpv6_seq(const __be32 *saddr, const __be32 *daddr,
16 const __be32 *saddr, const __be32 *daddr);
17 u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr,
19 u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr,
Dip6_checksum.h35 const struct in6_addr *daddr,
42 &ipv6_hdr(skb)->daddr, in ip6_compute_pseudo()
50 return ~csum_unfold(csum_ipv6_magic(&iph->saddr, &iph->daddr, in ip6_gro_compute_pseudo()
56 const struct in6_addr *daddr, in tcp_v6_check() argument
59 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_TCP, base); in tcp_v6_check()
64 const struct in6_addr *daddr) in __tcp_v6_send_check() argument
69 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check()
73 th->check = tcp_v6_check(skb->len, saddr, daddr, in __tcp_v6_send_check()
85 th->check = ~tcp_v6_check(0, &ipv6h->saddr, &ipv6h->daddr, 0); in tcp_v6_gso_csum_prep()
90 const struct in6_addr *daddr, in udp_v6_check() argument
[all …]
Dinetpeer.h38 struct inetpeer_addr daddr; member
99 const struct inetpeer_addr *daddr,
106 struct inetpeer_addr daddr; in inet_getpeer_v4() local
108 daddr.a4.addr = v4daddr; in inet_getpeer_v4()
109 daddr.a4.vif = vif; in inet_getpeer_v4()
110 daddr.family = AF_INET; in inet_getpeer_v4()
111 return inet_getpeer(base, &daddr, create); in inet_getpeer_v4()
118 struct inetpeer_addr daddr; in inet_getpeer_v6() local
120 daddr.a6 = *v6daddr; in inet_getpeer_v6()
121 daddr.family = AF_INET6; in inet_getpeer_v6()
[all …]
Dinet6_hashtables.h47 const struct in6_addr *daddr,
56 const struct in6_addr *daddr,
65 const struct in6_addr *daddr, in __inet6_lookup() argument
71 sport, daddr, hnum, in __inet6_lookup()
78 daddr, hnum, dif, sdif); in __inet6_lookup()
95 &ipv6_hdr(skb)->daddr, ntohs(dport), in __inet6_lookup_skb()
102 const struct in6_addr *daddr, const __be16 dport,
109 const struct in6_addr *daddr, in inet6_match() argument
117 !ipv6_addr_equal(&sk->sk_v6_rcv_saddr, daddr)) in inet6_match()
Droute.h85 static inline __be32 rt_nexthop(const struct rtable *rt, __be32 daddr) in rt_nexthop() argument
89 return daddr; in rt_nexthop()
145 static inline struct rtable *ip_route_output(struct net *net, __be32 daddr, in ip_route_output() argument
151 .daddr = daddr, in ip_route_output()
159 __be32 daddr, __be32 saddr, in ip_route_output_ports() argument
166 daddr, saddr, dport, sport, sock_net_uid(net, sk)); in ip_route_output_ports()
173 __be32 daddr, __be32 saddr, in ip_route_output_gre() argument
178 fl4->daddr = daddr; in ip_route_output_gre()
185 int ip_mc_validate_source(struct sk_buff *skb, __be32 daddr, __be32 saddr,
323 flowi4_update_output(fl4, oif, tos, fl4->daddr, fl4->saddr); in ip_route_connect()
[all …]
Drpl.h31 const struct in6_addr *daddr, unsigned char n);
35 const struct in6_addr *daddr, unsigned char n);
Dip6_route.h65 static inline bool rt6_need_strict(const struct in6_addr *daddr) in rt6_need_strict() argument
67 return ipv6_addr_type(daddr) & in rt6_need_strict()
134 const struct in6_addr *daddr, in ip6_route_get_saddr() argument
145 err = ipv6_dev_get_saddr(net, dev, daddr, prefs, saddr); in ip6_route_get_saddr()
151 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr,
229 const struct in6_addr *daddr, in ip6_dst_store() argument
236 np->daddr_cache = daddr; in ip6_dst_store()
253 const struct in6_addr *daddr) in ipv6_anycast_destination() argument
260 ipv6_addr_equal(&rt->rt6i_dst.addr, daddr)); in ipv6_anycast_destination()
295 const struct in6_addr *daddr) in rt6_nexthop() argument
[all …]
Dflow.h85 __be32 daddr; member
99 __be32 daddr, __be32 saddr, in flowi4_init_output() argument
113 fl4->daddr = daddr; in flowi4_init_output()
122 __be32 daddr, __be32 saddr) in flowi4_update_output() argument
126 fl4->daddr = daddr; in flowi4_update_output()
142 struct in6_addr daddr; member
164 __le16 daddr; member
Dinet_hashtables.h256 const __be32 daddr,
264 __be32 daddr, __be16 dport, int dif, int sdif) in inet_lookup_listener() argument
267 daddr, ntohs(dport), dif, sdif); in inet_lookup_listener()
319 const __be32 daddr, const u16 hnum,
325 const __be32 daddr, const __be16 dport, in inet_lookup_established() argument
328 return __inet_lookup_established(net, hashinfo, saddr, sport, daddr, in inet_lookup_established()
336 const __be32 daddr, const __be16 dport, in __inet_lookup() argument
344 daddr, hnum, dif, sdif); in __inet_lookup()
350 sport, daddr, hnum, dif, sdif); in __inet_lookup()
357 const __be32 daddr, const __be16 dport, in inet_lookup() argument
[all …]
Ddst_metadata.h156 __be32 daddr, in __ip_tun_set_dst() argument
170 saddr, daddr, tos, ttl, in __ip_tun_set_dst()
182 return __ip_tun_set_dst(iph->saddr, iph->daddr, iph->tos, iph->ttl, in ip_tun_rx_dst()
187 const struct in6_addr *daddr, in __ipv6_tun_set_dst() argument
210 info->key.u.ipv6.dst = *daddr; in __ipv6_tun_set_dst()
226 return __ipv6_tun_set_dst(&ip6h->saddr, &ip6h->daddr, in ipv6_tun_rx_dst()
Dipv6_stubs.h43 const struct in6_addr *daddr,
57 void (*ndisc_send_na)(struct net_device *dev, const struct in6_addr *daddr,
81 const struct in6_addr *daddr, __be16 dport,
Ddst_ops.h37 const void *daddr);
39 const void *daddr);
Dnetevent.h22 const void *daddr; member
Dxfrm.h326 const xfrm_address_t *daddr,
330 xfrm_address_t *daddr,
1262 return (xfrm_address_t *)&fl->u.ip4.daddr; in xfrm_flowi_daddr()
1264 return (xfrm_address_t *)&fl->u.ip6.daddr; in xfrm_flowi_daddr()
1283 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm_flowi_addr_get() argument
1289 memcpy(&daddr->a4, &fl->u.ip4.daddr, sizeof(daddr->a4)); in xfrm_flowi_addr_get()
1293 daddr->in6 = fl->u.ip6.daddr; in xfrm_flowi_addr_get()
1300 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm4_state_addr_check() argument
1302 if (daddr->a4 == x->id.daddr.a4 && in __xfrm4_state_addr_check()
1310 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm6_state_addr_check() argument
[all …]
/include/trace/events/
Dtcp.h15 #define TP_STORE_V4MAPPED(__entry, saddr, daddr) \ argument
22 ipv6_addr_set_v4mapped(daddr, pin6); \
26 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \ argument
36 TP_STORE_V4MAPPED(__entry, saddr, daddr); \
40 #define TP_STORE_ADDRS(__entry, saddr, daddr, saddr6, daddr6) \ argument
41 TP_STORE_V4MAPPED(__entry, saddr, daddr)
64 __array(__u8, daddr, 4)
84 p32 = (__be32 *) __entry->daddr;
93 __entry->sport, __entry->dport, __entry->saddr, __entry->daddr,
133 __array(__u8, daddr, 4)
[all …]
Dnet_probe_common.h13 v4 = (void *)__entry->daddr; \
29 v6 = (void *)__entry->daddr; \
Dsock.h155 __array(__u8, daddr, 4)
177 p32 = (__be32 *) __entry->daddr;
200 __entry->saddr, __entry->daddr,
219 __array(__u8, daddr, 4)
238 p32 = (__be32 *) __entry->daddr;
261 __entry->saddr, __entry->daddr,
/include/net/netfilter/
Dnf_queue.h52 if ((__force u32)iph->saddr < (__force u32)iph->daddr) in hash_v4()
54 (__force u32)iph->daddr, iph->protocol, initval); in hash_v4()
56 return jhash_3words((__force u32)iph->daddr, in hash_v4()
65 (__force u32)ip6h->daddr.s6_addr32[3]) { in hash_v6()
67 b = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6()
70 a = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6()
74 (__force u32)ip6h->daddr.s6_addr32[1]) in hash_v6()
77 c = (__force u32) ip6h->daddr.s6_addr32[1]; in hash_v6()
Dnf_tproxy.h35 __be32 nf_tproxy_laddr4(struct sk_buff *skb, __be32 user_laddr, __be32 daddr);
84 const __be32 saddr, const __be32 daddr,
91 const struct in6_addr *daddr);
123 const struct in6_addr *saddr, const struct in6_addr *daddr,
/include/net/phonet/
Dpn_dev.h38 int phonet_route_add(struct net_device *dev, u8 daddr);
39 int phonet_route_del(struct net_device *dev, u8 daddr);
41 struct net_device *phonet_route_get_rcu(struct net *net, u8 daddr);
42 struct net_device *phonet_route_output(struct net *net, u8 daddr);
/include/uapi/linux/netfilter/
Dxt_policy.h26 daddr:1, member
46 union nf_inet_addr daddr; member
53 union xt_policy_addr daddr;
/include/asm-generic/
Dchecksum.h46 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len,
52 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_magic() argument
55 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
/include/linux/
Dlsm_audit.h35 __be32 daddr; member
39 struct in6_addr daddr; member
/include/uapi/linux/
Dif_fc.h39 __u8 daddr[FC_ALEN]; /* destination address */ member
/include/uapi/linux/netfilter_bridge/
Debt_ip6.h35 struct in6_addr daddr; member

123