Home
last modified time | relevance | path

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

12

/external/kernel-headers/original/linux/
Drandom.h54 extern __u32 secure_ip_id(__u32 daddr);
55 extern u32 secure_ipv4_port_ephemeral(__u32 saddr, __u32 daddr, __u16 dport);
56 extern u32 secure_ipv6_port_ephemeral(const __u32 *saddr, const __u32 *daddr,
58 extern __u32 secure_tcp_sequence_number(__u32 saddr, __u32 daddr,
60 extern __u32 secure_tcpv6_sequence_number(__u32 *saddr, __u32 *daddr,
62 extern u64 secure_dccp_sequence_number(__u32 saddr, __u32 daddr,
Dif_fc.h37 __u8 daddr[FC_ALEN]; /* destination address */ member
Dipv6.h128 struct in6_addr daddr; member
295 struct in6_addr daddr; member
524 ipv6_addr_equal(&inet6_sk(__sk)->daddr, (__saddr)) && \
Dif_tr.h39 __u8 daddr[TR_ALEN]; /* destination address */ member
Dnetfilter_bridge.h89 } daddr; member
Detherdevice.h33 unsigned short type, void *daddr,
/external/qemu/slirp/
Dbootp.c158 struct sockaddr_in saddr, daddr; in bootp_reply() local
192 daddr.sin_addr = *preq_addr; in bootp_reply()
197 bc = get_new_addr(&daddr.sin_addr, client_ethaddr); in bootp_reply()
207 daddr.sin_addr = *preq_addr; in bootp_reply()
210 daddr.sin_addr.s_addr = 0; in bootp_reply()
213 bc = find_addr(&daddr.sin_addr, bp->bp_hwaddr); in bootp_reply()
224 daddr.sin_port = htons(BOOTP_CLIENT); in bootp_reply()
232 rbp->bp_yiaddr = daddr.sin_addr; /* Client IP address */ in bootp_reply()
242 ntohl(daddr.sin_addr.s_addr)); in bootp_reply()
312 daddr.sin_addr.s_addr = 0xffffffffu; in bootp_reply()
[all …]
Dtftp.c135 struct sockaddr_in saddr, daddr; in tftp_send_oack() local
160 daddr.sin_addr = spt->client_ip; in tftp_send_oack()
161 daddr.sin_port = spt->client_port; in tftp_send_oack()
165 udp_output2(NULL, m, &saddr, &daddr, IPTOS_LOWDELAY); in tftp_send_oack()
176 struct sockaddr_in saddr, daddr; in tftp_send_error() local
200 daddr.sin_addr = spt->client_ip; in tftp_send_error()
201 daddr.sin_port = spt->client_port; in tftp_send_error()
208 udp_output2(NULL, m, &saddr, &daddr, IPTOS_LOWDELAY); in tftp_send_error()
219 struct sockaddr_in saddr, daddr; in tftp_send_data() local
246 daddr.sin_addr = spt->client_ip; in tftp_send_data()
[all …]
Dudp.c256 struct sockaddr_in *saddr, struct sockaddr_in *daddr, in udp_output2() argument
266 DEBUG_ARG("daddr = %lx", (long)daddr->sin_addr.s_addr); in udp_output2()
285 ui->ui_dst = daddr->sin_addr; in udp_output2()
287 ui->ui_dport = daddr->sin_port; in udp_output2()
314 struct sockaddr_in saddr, daddr; in udp_output() local
324 daddr.sin_addr = so->so_laddr; in udp_output()
325 daddr.sin_port = so->so_lport; in udp_output()
327 return udp_output2(so, m, &saddr, &daddr, so->so_iptos); in udp_output()
Dudp.h106 struct sockaddr_in *saddr, struct sockaddr_in *daddr,
/external/qemu/slirp-android/
Dbootp.c163 SockAddress saddr, daddr; in bootp_reply() local
197 sock_address_init_inet(&daddr, ip_geth(*preq_addr), BOOTP_CLIENT); in bootp_reply()
202 bc = get_new_addr(&daddr, client_ethaddr); in bootp_reply()
212 sock_address_init_inet(&daddr, ip_geth(*preq_addr), BOOTP_CLIENT); in bootp_reply()
215 sock_address_init_inet(&daddr, 0, BOOTP_CLIENT); in bootp_reply()
218 bc = find_addr(&daddr, bp->bp_hwaddr); in bootp_reply()
235 rbp->bp_yiaddr = htonl(sock_address_get_ip(&daddr)); /* Client IP address */ in bootp_reply()
246 sock_address_get_ip(&daddr)); in bootp_reply()
316 sock_address_init_inet(&daddr, 0xffffffffu, BOOTP_CLIENT); in bootp_reply()
320 udp_output2_(NULL, m, &saddr, &daddr, IPTOS_LOWDELAY); in bootp_reply()
Dtftp.c135 SockAddress saddr, daddr; in tftp_send_oack() local
161 sock_address_init_inet( &daddr, in tftp_send_oack()
167 udp_output2_(NULL, m, &saddr, &daddr, IPTOS_LOWDELAY); in tftp_send_oack()
178 SockAddress saddr, daddr; in tftp_send_error() local
203 sock_address_init_inet( &daddr, in tftp_send_error()
212 udp_output2_(NULL, m, &saddr, &daddr, IPTOS_LOWDELAY); in tftp_send_error()
223 SockAddress saddr, daddr; in tftp_send_data() local
251 sock_address_init_inet( &daddr, in tftp_send_data()
270 udp_output2_(NULL, m, &saddr, &daddr, IPTOS_LOWDELAY); in tftp_send_data()
Dudp.c307 const SockAddress* daddr, in udp_output2_() argument
312 uint32_t daddr_ip = sock_address_get_ip(daddr); in udp_output2_()
314 int daddr_port = sock_address_get_port(daddr); in udp_output2_()
375 SockAddress saddr, daddr; in udp_output_() local
389 sock_address_init_inet( &daddr, so->so_laddr_ip, so->so_laddr_port ); in udp_output_()
391 return udp_output2_(so, m, &saddr, &daddr, so->so_iptos); in udp_output_()
/external/iproute2/ip/
Dlink_gre.c59 unsigned daddr = 0; in gre_parse_opt() local
116 daddr = *(__u32 *)RTA_DATA(greinfo[IFLA_GRE_REMOTE]); in gre_parse_opt()
202 daddr = get_addr32(*argv); in gre_parse_opt()
241 if (!ikey && IN_MULTICAST(ntohl(daddr))) { in gre_parse_opt()
242 ikey = daddr; in gre_parse_opt()
245 if (!okey && IN_MULTICAST(ntohl(daddr))) { in gre_parse_opt()
246 okey = daddr; in gre_parse_opt()
249 if (IN_MULTICAST(ntohl(daddr)) && !saddr) { in gre_parse_opt()
259 addattr_l(n, 1024, IFLA_GRE_REMOTE, &daddr, 4); in gre_parse_opt()
Diptunnel.c162 p->iph.daddr = get_addr32(*argv); in parse_args()
239 if (p->i_key == 0 && IN_MULTICAST(ntohl(p->iph.daddr))) { in parse_args()
240 p->i_key = p->iph.daddr; in parse_args()
243 if (p->o_key == 0 && IN_MULTICAST(ntohl(p->iph.daddr))) { in parse_args()
244 p->o_key = p->iph.daddr; in parse_args()
247 if (IN_MULTICAST(ntohl(p->iph.daddr)) && !p->iph.saddr) { in parse_args()
322 p->iph.daddr ? format_host(AF_INET, 4, &p->iph.daddr, s1, sizeof(s1)) : "any", in print_tunnel()
447 (p->iph.daddr && p1.iph.daddr != p->iph.daddr) || in do_tunnels_list()
Dxfrm_state.c678 if (xfrm_addr_match(&xsinfo->id.daddr, &filter.xsinfo.id.daddr, in xfrm_state_filter_match()
818 memcpy(&req.xsid.daddr, &id.daddr, sizeof(req.xsid.daddr)); in xfrm_state_get_or_delete()
910 memcpy(&xsid->daddr, &xsinfo->id.daddr, sizeof(xsid->daddr)); in xfrm_state_keep()
915 sizeof(xsid->daddr)); in xfrm_state_keep()
Dipxfrm.c295 fprintf(fp, "dst %s", rt_addr_n2a(family, sizeof(id->daddr), in xfrm_id_info_print()
296 &id->daddr, abuf, sizeof(abuf))); in xfrm_id_info_print()
464 fprintf(fp, "dst %s/%u ", rt_addr_n2a(f, sizeof(sel->daddr), in xfrm_selector_print()
465 &sel->daddr, abuf, sizeof(abuf)), in xfrm_selector_print()
968 memcpy(&id->daddr, &dst.data, sizeof(id->daddr)); in xfrm_id_parse()
1237 memcpy(&sel->daddr, &dst.data, sizeof(sel->daddr)); in xfrm_selector_parse()
/external/iptables/include/linux/netfilter/
Dxt_policy.h22 daddr:1, member
42 union nf_inet_addr daddr; member
49 union xt_policy_addr daddr;
/external/iptables/extensions/
Dlibxt_policy.c134 if (e->match.daddr) in policy_parse()
137 e->match.daddr = 1; in policy_parse()
138 e->invert.daddr = cb->invert; in policy_parse()
139 memcpy(&e->daddr, &cb->val.haddr, sizeof(cb->val.haddr)); in policy_parse()
209 e->match.daddr || e->match.proto || e->match.mode)) in policy_check()
216 if ((e->match.saddr || e->match.daddr) in policy_check()
280 if (e->match.daddr) { in print_entry()
281 PRINT_INVERT(e->invert.daddr); in print_entry()
284 xtables_ip6addr_to_numeric(&e->daddr.a6), in print_entry()
288 xtables_ipaddr_to_numeric(&e->daddr.a4), in print_entry()
/external/grub/stage2/
Dfsys_xfs.c47 xfs_daddr_t daddr; member
207 xfs_daddr_t daddr; in di_read() local
214 daddr = agb2daddr (agno, agbno); in di_read()
216 devread (daddr, offset*xfs.isize, xfs.isize, (char *)inode); in di_read()
239 xfs.daddr = fsb2daddr (le64(ptr0)); in init_extents()
240 devread (xfs.daddr, 0, in init_extents()
248 devread (xfs.daddr, xfs.btnode_ptr0_off, in init_extents()
269 xfs.daddr = xfs.next; in next_extent()
270 devread (xfs.daddr, 0, sizeof(xfs_btree_lblock_t), (char *)&h); in next_extent()
276 devread (xfs.daddr, xfs.fpos, sizeof(xfs_bmbt_rec_t), filebuf); in next_extent()
/external/ipsec-tools/src/racoon/
Dpfkey.c2291 struct sadb_address *saddr, *daddr; local
2310 daddr = (struct sadb_address *)mhp[SADB_EXT_ADDRESS_DST];
2321 daddr + 1,
2323 daddr->sadb_address_prefixlen,
2331 daddr + 1,
2333 daddr->sadb_address_prefixlen,
2429 struct sadb_address *saddr, *daddr; local
2448 daddr = (struct sadb_address *)mhp[SADB_EXT_ADDRESS_DST];
2459 daddr + 1,
2461 daddr->sadb_address_prefixlen,
[all …]
Dsockmisc.h81 const struct sockaddr *daddr));
89 const struct netaddr *daddr));
/external/tcpdump/
Dprint-esp.c73 struct sockaddr_storage daddr; member
199 sin = (struct sockaddr_in *)&sa1.daddr; in esp_print_decode_onesecret()
201 sin6 = (struct sockaddr_in6 *)&sa1.daddr; in esp_print_decode_onesecret()
420 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)&sa->daddr; in esp_print()
438 struct sockaddr_in *sin = (struct sockaddr_in *)&sa->daddr; in esp_print()
/external/valgrind/main/lackey/
Dlk_main.c526 void addEvent_Dr ( IRSB* sb, IRAtom* daddr, Int dsize ) in addEvent_Dr() argument
530 tl_assert(isIRAtom(daddr)); in addEvent_Dr()
537 evt->addr = daddr; in addEvent_Dr()
543 void addEvent_Dw ( IRSB* sb, IRAtom* daddr, Int dsize ) in addEvent_Dw() argument
548 tl_assert(isIRAtom(daddr)); in addEvent_Dw()
556 && eqIRAtom(lastEvt->addr, daddr)) in addEvent_Dw()
569 evt->addr = daddr; in addEvent_Dw()
/external/iproute2/include/linux/
Dxfrm.h23 xfrm_address_t daddr; member
47 xfrm_address_t daddr; member
355 xfrm_address_t daddr; member

12