Home
last modified time | relevance | path

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

123

/include/net/
Dsecure_seq.h7 extern __u32 secure_ip_id(__be32 daddr);
8 extern __u32 secure_ipv6_id(const __be32 daddr[4]);
9 extern u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport);
10 extern u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr,
12 extern __u32 secure_tcp_sequence_number(__be32 saddr, __be32 daddr,
14 extern __u32 secure_tcpv6_sequence_number(const __be32 *saddr, const __be32 *daddr,
16 extern u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr,
18 extern u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr,
Dip6_checksum.h39 const struct in6_addr *daddr,
46 const struct in6_addr *daddr, in tcp_v6_check() argument
49 return csum_ipv6_magic(saddr, daddr, len, IPPROTO_TCP, base); in tcp_v6_check()
54 const struct in6_addr *daddr) in __tcp_v6_send_check() argument
59 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check()
63 th->check = tcp_v6_check(skb->len, saddr, daddr, in __tcp_v6_send_check()
73 __tcp_v6_send_check(skb, &np->saddr, &np->daddr); in tcp_v6_send_check()
Dinetpeer.h33 struct inetpeer_addr daddr; member
136 const struct inetpeer_addr *daddr,
143 struct inetpeer_addr daddr; in inet_getpeer_v4() local
145 daddr.addr.a4 = v4daddr; in inet_getpeer_v4()
146 daddr.family = AF_INET; in inet_getpeer_v4()
147 return inet_getpeer(base, &daddr, create); in inet_getpeer_v4()
154 struct inetpeer_addr daddr; in inet_getpeer_v6() local
156 *(struct in6_addr *)daddr.addr.a6 = *v6daddr; in inet_getpeer_v6()
157 daddr.family = AF_INET6; in inet_getpeer_v6()
158 return inet_getpeer(base, &daddr, create); in inet_getpeer_v6()
Dinet6_hashtables.h48 const struct in6_addr *faddr = &np->daddr; in inet6_sk_ehashfn()
68 const struct in6_addr *daddr,
76 const struct in6_addr *daddr,
84 const struct in6_addr *daddr, in __inet6_lookup() argument
89 sport, daddr, hnum, dif); in __inet6_lookup()
94 daddr, hnum, dif); in __inet6_lookup()
109 &ipv6_hdr(skb)->daddr, ntohs(dport), in __inet6_lookup_skb()
115 const struct in6_addr *daddr, const __be16 dport,
Droute.h75 static inline __be32 rt_nexthop(const struct rtable *rt, __be32 daddr) in rt_nexthop() argument
79 return daddr; in rt_nexthop()
124 static inline struct rtable *ip_route_output(struct net *net, __be32 daddr, in ip_route_output() argument
130 .daddr = daddr, in ip_route_output()
138 __be32 daddr, __be32 saddr, in ip_route_output_ports() argument
145 daddr, saddr, dport, sport, sock_net_uid(net, sk)); in ip_route_output_ports()
152 __be32 daddr, __be32 saddr, in ip_route_output_gre() argument
157 fl4->daddr = daddr; in ip_route_output_gre()
277 flowi4_update_output(fl4, oif, tos, fl4->daddr, fl4->saddr); in ip_route_connect()
293 RT_CONN_FLAGS(sk), fl4->daddr, in ip_route_newports()
Dinet_hashtables.h264 const __be32 daddr,
271 __be32 daddr, __be16 dport, int dif) in inet_lookup_listener() argument
274 daddr, ntohs(dport), dif); in inet_lookup_listener()
345 const __be32 daddr, const u16 hnum, const int dif);
350 const __be32 daddr, const __be16 dport, in inet_lookup_established() argument
353 return __inet_lookup_established(net, hashinfo, saddr, sport, daddr, in inet_lookup_established()
360 const __be32 daddr, const __be16 dport, in __inet_lookup() argument
365 saddr, sport, daddr, hnum, dif); in __inet_lookup()
368 daddr, hnum, dif); in __inet_lookup()
374 const __be32 daddr, const __be16 dport, in inet_lookup() argument
[all …]
Dflow.h76 __be32 daddr; member
91 __be32 daddr, __be32 saddr, in flowi4_init_output() argument
104 fl4->daddr = daddr; in flowi4_init_output()
112 __be32 daddr, __be32 saddr) in flowi4_update_output() argument
116 fl4->daddr = daddr; in flowi4_update_output()
132 struct in6_addr daddr; member
153 __le16 daddr; member
Dip6_route.h96 const struct in6_addr *daddr,
101 const struct in6_addr *daddr,
159 const struct in6_addr *daddr, in __ip6_dst_store() argument
166 np->daddr_cache = daddr; in __ip6_dst_store()
174 struct in6_addr *daddr, struct in6_addr *saddr) in ip6_dst_store() argument
177 __ip6_dst_store(sk, dst, daddr, saddr); in ip6_dst_store()
Dnetevent.h21 const void *daddr; member
Dxfrm.h294 const xfrm_address_t *daddr,
297 xfrm_address_t *daddr,
336 const xfrm_address_t *daddr,
1213 return (xfrm_address_t *)&fl->u.ip4.daddr; in xfrm_flowi_daddr()
1215 return (xfrm_address_t *)&fl->u.ip6.daddr; in xfrm_flowi_daddr()
1234 xfrm_address_t *saddr, xfrm_address_t *daddr, in xfrm_flowi_addr_get() argument
1240 memcpy(&daddr->a4, &fl->u.ip4.daddr, sizeof(daddr->a4)); in xfrm_flowi_addr_get()
1244 *(struct in6_addr *)daddr->a6 = fl->u.ip6.daddr; in xfrm_flowi_addr_get()
1251 const xfrm_address_t *daddr, const xfrm_address_t *saddr) in __xfrm4_state_addr_check() argument
1253 if (daddr->a4 == x->id.daddr.a4 && in __xfrm4_state_addr_check()
[all …]
/include/net/netfilter/
Dnf_tproxy_core.h68 const __be32 saddr, const __be32 daddr, in nf_tproxy_get_sock_v4() argument
80 saddr, sport, daddr, dport, in nf_tproxy_get_sock_v4()
86 daddr, dport, in nf_tproxy_get_sock_v4()
97 saddr, sport, daddr, dport, in nf_tproxy_get_sock_v4()
107 sk = udp4_lib_lookup(net, saddr, sport, daddr, dport, in nf_tproxy_get_sock_v4()
130 protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v4()
138 const struct in6_addr *saddr, const struct in6_addr *daddr, in nf_tproxy_get_sock_v6() argument
150 saddr, sport, daddr, dport, in nf_tproxy_get_sock_v6()
156 daddr, ntohs(dport), in nf_tproxy_get_sock_v6()
167 saddr, sport, daddr, ntohs(dport), in nf_tproxy_get_sock_v6()
[all …]
/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.h95 __le32 daddr; /* Destination device address */ member
105 __le32 daddr; /* Destination device address */ member
112 __le32 daddr; /* Dest device address */ member
139 __le32 daddr; member
148 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.h73 __u32 daddr; /* Destination device address */ member
94 __u32 saddr, __u32 daddr, struct sk_buff *skb,
Dircomm_event.h68 __u32 daddr; /* Destination device address */ member
/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