Home
last modified time | relevance | path

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

123

/include/net/
Dsecure_seq.h6 u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport);
7 u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr,
9 __u32 secure_tcp_sequence_number(__be32 saddr, __be32 daddr,
11 __u32 secure_tcpv6_sequence_number(const __be32 *saddr, const __be32 *daddr,
13 u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr,
15 u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr,
Dip6_checksum.h39 const struct in6_addr *daddr,
47 &ipv6_hdr(skb)->daddr, in ip6_compute_pseudo()
55 return ~csum_unfold(csum_ipv6_magic(&iph->saddr, &iph->daddr, in ip6_gro_compute_pseudo()
61 const struct in6_addr *daddr, in tcp_v6_check() argument
64 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_TCP, base); in tcp_v6_check()
69 const struct in6_addr *daddr) in __tcp_v6_send_check() argument
74 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check()
78 th->check = tcp_v6_check(skb->len, saddr, daddr, in __tcp_v6_send_check()
95 const struct in6_addr *daddr, in udp_v6_check() argument
98 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_UDP, base); in udp_v6_check()
[all …]
Dinetpeer.h33 struct inetpeer_addr daddr; member
134 const struct inetpeer_addr *daddr,
141 struct inetpeer_addr daddr; in inet_getpeer_v4() local
143 daddr.addr.a4 = v4daddr; in inet_getpeer_v4()
144 daddr.family = AF_INET; in inet_getpeer_v4()
145 return inet_getpeer(base, &daddr, create); in inet_getpeer_v4()
152 struct inetpeer_addr daddr; in inet_getpeer_v6() local
154 *(struct in6_addr *)daddr.addr.a6 = *v6daddr; in inet_getpeer_v6()
155 daddr.family = AF_INET6; in inet_getpeer_v6()
156 return inet_getpeer(base, &daddr, create); in inet_getpeer_v6()
Dinet6_hashtables.h53 const struct in6_addr *daddr,
60 const struct in6_addr *daddr,
67 const struct in6_addr *daddr, in __inet6_lookup() argument
72 sport, daddr, hnum, dif); in __inet6_lookup()
77 daddr, hnum, dif); in __inet6_lookup()
93 &ipv6_hdr(skb)->daddr, ntohs(dport), in __inet6_lookup_skb()
99 const struct in6_addr *daddr, const __be16 dport,
Droute.h79 static inline __be32 rt_nexthop(const struct rtable *rt, __be32 daddr) in rt_nexthop() argument
83 return daddr; in rt_nexthop()
122 static inline struct rtable *ip_route_output(struct net *net, __be32 daddr, in ip_route_output() argument
128 .daddr = daddr, in ip_route_output()
136 __be32 daddr, __be32 saddr, in ip_route_output_ports() argument
143 daddr, saddr, dport, sport, sock_net_uid(net, sk)); in ip_route_output_ports()
150 __be32 daddr, __be32 saddr, in ip_route_output_gre() argument
155 fl4->daddr = daddr; in ip_route_output_gre()
273 flowi4_update_output(fl4, oif, tos, fl4->daddr, fl4->saddr); in ip_route_connect()
289 RT_CONN_FLAGS(sk), fl4->daddr, in ip_route_newports()
Dinet_hashtables.h260 const __be32 daddr,
267 __be32 daddr, __be16 dport, int dif) in inet_lookup_listener() argument
270 daddr, ntohs(dport), dif); in inet_lookup_listener()
330 const __be32 daddr, const u16 hnum,
336 const __be32 daddr, const __be16 dport, in inet_lookup_established() argument
339 return __inet_lookup_established(net, hashinfo, saddr, sport, daddr, in inet_lookup_established()
346 const __be32 daddr, const __be16 dport, in __inet_lookup() argument
351 saddr, sport, daddr, hnum, dif); in __inet_lookup()
354 daddr, hnum, dif); in __inet_lookup()
360 const __be32 daddr, const __be16 dport, in inet_lookup() argument
[all …]
Dip6_route.h59 static inline bool rt6_need_strict(const struct in6_addr *daddr) in rt6_need_strict() argument
61 return ipv6_addr_type(daddr) & in rt6_need_strict()
83 const struct in6_addr *daddr, unsigned int prefs,
86 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr,
139 const struct in6_addr *daddr, in __ip6_dst_store() argument
146 np->daddr_cache = daddr; in __ip6_dst_store()
154 struct in6_addr *daddr, struct in6_addr *saddr) in ip6_dst_store() argument
157 __ip6_dst_store(sk, dst, daddr, saddr); in ip6_dst_store()
Dflow.h75 __be32 daddr; member
90 __be32 daddr, __be32 saddr, in flowi4_init_output() argument
103 fl4->daddr = daddr; in flowi4_init_output()
111 __be32 daddr, __be32 saddr) in flowi4_update_output() argument
115 fl4->daddr = daddr; in flowi4_update_output()
131 struct in6_addr daddr; member
152 __le16 daddr; member
Dudp.h153 __be32 daddr, __wsum base) in udp_v4_check() argument
155 return csum_tcpudp_magic(saddr, daddr, len, IPPROTO_UDP, base); in udp_v4_check()
159 __be32 saddr, __be32 daddr, int len);
251 __be32 daddr, __be16 dport, int dif);
253 __be32 daddr, __be16 dport, int dif,
257 const struct in6_addr *daddr, __be16 dport,
261 const struct in6_addr *daddr, __be16 dport,
Dnetevent.h21 const void *daddr; member
Dxfrm.h292 const xfrm_address_t *daddr,
296 xfrm_address_t *daddr,
337 const xfrm_address_t *daddr,
1210 return (xfrm_address_t *)&fl->u.ip4.daddr; in xfrm_flowi_daddr()
1212 return (xfrm_address_t *)&fl->u.ip6.daddr; in xfrm_flowi_daddr()
1231 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm_flowi_addr_get() argument
1237 memcpy(&daddr->a4, &fl->u.ip4.daddr, sizeof(daddr->a4)); in xfrm_flowi_addr_get()
1241 *(struct in6_addr *)daddr->a6 = fl->u.ip6.daddr; in xfrm_flowi_addr_get()
1248 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm4_state_addr_check() argument
1250 if (daddr->a4 == x->id.daddr.a4 && in __xfrm4_state_addr_check()
[all …]
/include/net/netfilter/
Dnf_queue.h53 if ((__force u32)iph->saddr < (__force u32)iph->daddr) in hash_v4()
55 (__force u32)iph->daddr, iph->protocol, jhash_initval); in hash_v4()
57 return jhash_3words((__force u32)iph->daddr, in hash_v4()
68 (__force u32)ip6h->daddr.s6_addr32[3]) { in hash_v6()
70 b = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6()
73 a = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6()
77 (__force u32)ip6h->daddr.s6_addr32[1]) in hash_v6()
80 c = (__force u32) ip6h->daddr.s6_addr32[1]; in hash_v6()
/include/net/phonet/
Dpn_dev.h51 int phonet_route_add(struct net_device *dev, u8 daddr);
52 int phonet_route_del(struct net_device *dev, u8 daddr);
54 struct net_device *phonet_route_get_rcu(struct net *net, u8 daddr);
55 struct net_device *phonet_route_output(struct net *net, u8 daddr);
/include/uapi/linux/netfilter/
Dxt_policy.h22 daddr:1, member
42 union nf_inet_addr daddr; member
49 union xt_policy_addr daddr;
/include/net/irda/
Dirlap_frame.h93 __le32 daddr; /* Destination device address */ member
103 __le32 daddr; /* Destination device address */ member
110 __le32 daddr; /* Dest device address */ member
137 __le32 daddr; member
146 void irlap_send_test_frame(struct irlap_cb *self, __u8 caddr, __u32 daddr,
Dirlmp_frame.h52 void irlmp_link_connect_indication(struct lap_cb *, __u32 saddr, __u32 daddr,
54 void irlmp_link_connect_request(__u32 daddr);
Diriap.h66 __u32 daddr; member
98 __u32 saddr, __u32 daddr,
Dirlan_client.h37 void irlan_client_wakeup(struct irlan_cb *self, __u32 saddr, __u32 daddr);
Dircomm_core.h71 __u32 daddr; /* Destination device address */ member
92 __u32 saddr, __u32 daddr, struct sk_buff *skb,
/include/asm-generic/
Dchecksum.h68 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, unsigned short len,
74 csum_tcpudp_magic(__be32 saddr, __be32 daddr, unsigned short len, in csum_tcpudp_magic() argument
77 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
/include/linux/
Dlsm_audit.h33 __be32 daddr; member
37 struct in6_addr daddr; member
/include/uapi/linux/
Dif_fc.h38 __u8 daddr[FC_ALEN]; /* destination address */ member
/include/uapi/linux/netfilter_bridge/
Debt_ip.h33 __be32 daddr; member
Debt_ip6.h33 struct in6_addr daddr; member
Debt_arp.h26 __be32 daddr; member

123