/external/ipsec-tools/src/racoon/ |
D | sockmisc.h | 39 struct sockaddr sa; 48 extern int cmpsaddrwop __P((const struct sockaddr *, const struct sockaddr *)); 49 extern int cmpsaddrwild __P((const struct sockaddr *, const struct sockaddr *)); 50 extern int cmpsaddrstrict __P((const struct sockaddr *, const struct sockaddr *)); 58 extern struct sockaddr *getlocaladdr __P((struct sockaddr *)); 61 struct sockaddr *, socklen_t *, struct sockaddr *, unsigned int *)); 63 struct sockaddr *, struct sockaddr *, int)); 67 extern struct sockaddr *newsaddr __P((int)); 68 extern struct sockaddr *dupsaddr __P((struct sockaddr *)); 69 extern char *saddr2str __P((const struct sockaddr *)); [all …]
|
D | handler.h | 118 struct sockaddr *remote; /* remote address to negosiate ph1 */ 119 struct sockaddr *local; /* local address to negosiate ph1 */ 247 struct sockaddr *src; /* my address of SA. */ 248 struct sockaddr *dst; /* peer's address of SA. */ 254 struct sockaddr *src_id; 255 struct sockaddr *dst_id; 329 struct sockaddr *remote; /* remote address to negosiate ph1 */ 337 struct sockaddr *remote; /* the remote address */ 338 struct sockaddr *local; /* the local address */ 421 struct sockaddr; [all …]
|
D | policy.c | 139 saddr2str((struct sockaddr *)&spidx->src)); 140 if (cmpsaddrwop(iph2->src, (struct sockaddr *)&spidx->src) 147 saddr2str((struct sockaddr *)&spidx->dst)); 148 if (cmpsaddrwop(iph2->dst, (struct sockaddr *)&spidx->dst) 197 if (cmpsaddrstrict((struct sockaddr *)&a->src, 198 (struct sockaddr *)&b->src)) 200 if (cmpsaddrstrict((struct sockaddr *)&a->dst, 201 (struct sockaddr *)&b->dst)) 251 mask_sockaddr((struct sockaddr *)&sa1, (struct sockaddr *)&a->src, 253 mask_sockaddr((struct sockaddr *)&sa2, (struct sockaddr *)&b->src, [all …]
|
D | isakmp_var.h | 55 struct sockaddr; 65 extern int isakmp_ph1begin_i __P((struct remoteconf *, struct sockaddr *, 66 struct sockaddr *)); 100 extern int isakmp_newcookie __P((caddr_t, struct sockaddr *, struct sockaddr *)); 115 extern void isakmp_printpacket __P((vchar_t *, struct sockaddr *, 116 struct sockaddr *, int)); 120 struct remoteconf *, struct sockaddr *, struct sockaddr *)); 130 u_int32_t setscopeid __P((struct sockaddr *, struct sockaddr *));
|
D | sockmisc.c | 84 const struct sockaddr *addr1; in cmpsaddrwop() 85 const struct sockaddr *addr2; 137 const struct sockaddr *addr1; in cmpsaddrwild() 138 const struct sockaddr *addr2; 202 const struct sockaddr *addr1; in cmpsaddrstrict() 203 const struct sockaddr *addr2; 258 struct sockaddr *getlocaladdr(struct sockaddr *remote) in getlocaladdr() 264 getsockname(s, (struct sockaddr *)&local, &len) == -1) { in getlocaladdr() 269 return dupsaddr((struct sockaddr *)&local); in getlocaladdr() 272 int recvfromto(int s, void *buf, size_t len, int flags, struct sockaddr *from, in recvfromto() [all …]
|
D | nattraversal.h | 73 struct sockaddr *oa; 78 vchar_t *natt_hash_addr (struct ph1handle *iph1, struct sockaddr *addr); 92 int natt_keepalive_add (struct sockaddr *src, struct sockaddr *dst); 94 void natt_keepalive_remove (struct sockaddr *src, struct sockaddr *dst);
|
D | admin.c | 108 so2 = accept(lcconf->sock_admin, (struct sockaddr *)&from, &fromlen); in admin_handler() 276 struct sockaddr *dst; 277 struct sockaddr *src; 280 src = (struct sockaddr *) 283 dst = (struct sockaddr *) 332 struct sockaddr *dst; 335 dst = (struct sockaddr *) 396 struct sockaddr *dst; 397 struct sockaddr *src; 398 src = (struct sockaddr *) [all …]
|
/external/ipsec-tools/src/libipsec/ |
D | libpfkey.h | 53 struct sockaddr; 72 struct sockaddr *src; /* IP src address for SA */ 73 struct sockaddr *dst; /* IP dst address for SA */ 88 struct sockaddr *l_natt_oa; 118 int pfkey_send_getspi __P((int, u_int, u_int, struct sockaddr *, 119 struct sockaddr *, u_int32_t, u_int32_t, u_int32_t, u_int32_t)); 123 struct sockaddr *, struct sockaddr *, u_int32_t)); 125 struct sockaddr *, struct sockaddr *)); 127 struct sockaddr *, struct sockaddr *, u_int32_t)); 134 int pfkey_send_spdadd __P((int, struct sockaddr *, u_int, [all …]
|
D | test-policy.c | 252 if (pfkey_send_spdsetidx(so, (struct sockaddr *)addr, 128, in test2() 253 (struct sockaddr *)addr, 128, in test2() 260 if (pfkey_send_spdupdate(so, (struct sockaddr *)addr, 128, in test2() 261 (struct sockaddr *)addr, 128, in test2() 271 if (pfkey_send_spddelete(so, (struct sockaddr *)addr, 128, in test2() 272 (struct sockaddr *)addr, 128, in test2() 279 if (pfkey_send_spdadd(so, (struct sockaddr *)addr, 128, in test2() 280 (struct sockaddr *)addr, 128, in test2() 301 if (pfkey_send_spdadd2(so, (struct sockaddr *)addr, 128, in test2() 302 (struct sockaddr *)addr, 128, in test2() [all …]
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.h | 51 #define sockaddr_storage sockaddr 56 #define GET_SA_LEN(X) (sizeof(struct sockaddr) > ((struct sockaddr*)&(X))->sa_len ? \ 57 sizeof(struct sockaddr) : ((struct sockaddr*)&(X))->sa_len ) 59 #define GET_SA_LEN(X) (((struct sockaddr*)&(X))->sa_family == AF_INET ? sizeof(struct sockaddr_in)… 60 …((struct sockaddr*)&(X))->sa_family == AF_INET6 ? sizeof(struct sockaddr_in6) : sizeof(struct sock… 62 …define GET_SA_LEN(X) (((struct sockaddr*)&(X))->sa_family == AF_INET ? sizeof(struct sockaddr_in) … 83 struct sockaddr *sa, socklen_t *salenptr, struct my_in_pktinfo *pktp, u_char *ttl); 92 struct sockaddr *ifi_addr; /* primary address */ 93 struct sockaddr *ifi_netmask; 94 struct sockaddr *ifi_brdaddr;/* broadcast address */ [all …]
|
/external/lldb/include/lldb/Host/ |
D | SocketAddress.h | 36 SocketAddress (const struct sockaddr &s); 53 operator=(const struct sockaddr &s); 138 struct sockaddr & 139 sockaddr () in sockaddr() function 144 const struct sockaddr & 145 sockaddr () const in sockaddr() function 196 operator struct sockaddr * () 201 operator const struct sockaddr * () const 240 struct sockaddr sa;
|
/external/libpcap/ |
D | fad-win32.c | 54 add_addr_to_list(pcap_if_t *curdev, struct sockaddr *addr, in add_addr_to_list() 55 struct sockaddr *netmask, struct sockaddr *broadaddr, in add_addr_to_list() 56 struct sockaddr *dstaddr, char *errbuf) in add_addr_to_list() 72 curaddr->addr = (struct sockaddr*)dup_sockaddr(addr, sizeof(struct sockaddr_storage)); in add_addr_to_list() 83 curaddr->netmask = (struct sockaddr*)dup_sockaddr(netmask, sizeof(struct sockaddr_storage)); in add_addr_to_list() 94 curaddr->broadaddr = (struct sockaddr*)dup_sockaddr(broadaddr, sizeof(struct sockaddr_storage)); in add_addr_to_list() 105 curaddr->dstaddr = (struct sockaddr*)dup_sockaddr(dstaddr, sizeof(struct sockaddr_storage)); in add_addr_to_list() 193 (struct sockaddr *)&if_addrs[if_addr_size].IPAddress, in pcap_add_if_win32() 194 (struct sockaddr *)&if_addrs[if_addr_size].SubnetMask, in pcap_add_if_win32() 195 (struct sockaddr *)&if_addrs[if_addr_size].Broadcast, in pcap_add_if_win32()
|
/external/libpcap/Win32/Include/net/ |
D | if.h | 160 struct sockaddr ifru_addr; 161 struct sockaddr ifru_dstaddr; 162 struct sockaddr ifru_broadaddr; 182 ((ifr).ifr_addr.sa_len > sizeof(struct sockaddr) ? \ 183 (sizeof(struct ifreq) - sizeof(struct sockaddr) + \ 188 struct sockaddr ifra_addr; 189 struct sockaddr ifra_broadaddr; 190 struct sockaddr ifra_mask;
|
/external/libnl/include/linux/ |
D | if_arp.h | 102 struct sockaddr arp_pa; /* protocol address */ 103 struct sockaddr arp_ha; /* hardware address */ 105 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */ 110 struct sockaddr arp_pa; /* protocol address */ 111 struct sockaddr arp_ha; /* hardware address */ 113 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
|
/external/iproute2/include/linux/ |
D | if_arp.h | 110 struct sockaddr arp_pa; /* protocol address */ 111 struct sockaddr arp_ha; /* hardware address */ 113 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */ 118 struct sockaddr arp_pa; /* protocol address */ 119 struct sockaddr arp_ha; /* hardware address */ 121 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
|
/external/kernel-headers/original/uapi/linux/ |
D | if_arp.h | 114 struct sockaddr arp_pa; /* protocol address */ 115 struct sockaddr arp_ha; /* hardware address */ 117 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */ 122 struct sockaddr arp_pa; /* protocol address */ 123 struct sockaddr arp_ha; /* hardware address */ 125 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
|
D | wireless.h | 751 struct sockaddr addr; /* Source address (hw/mac) */ 777 struct sockaddr bssid; /* ff:ff:ff:ff:ff:ff for broadcast BSSID or 835 struct sockaddr addr; /* ff:ff:ff:ff:ff:ff for broadcast/multicast 848 struct sockaddr addr; 861 struct sockaddr bssid; 869 struct sockaddr src_addr; 880 struct sockaddr bssid; 934 struct sockaddr ap_addr; /* Access point address */ 935 struct sockaddr addr; /* Destination address (hw/mac) */ 1105 #define IW_EV_ADDR_LEN (IW_EV_LCP_LEN + sizeof(struct sockaddr)) [all …]
|
/external/openssh/ |
D | sshconnect.h | 39 void ssh_login(Sensitive *, const char *, struct sockaddr *, u_short, 44 int verify_host_key(char *, struct sockaddr *, Key *); 46 void get_hostfile_hostname_ipaddr(char *, struct sockaddr *, u_short, 49 void ssh_kex(char *, struct sockaddr *); 50 void ssh_kex2(char *, struct sockaddr *, u_short);
|
D | canohost.c | 58 if (getpeername(sock, (struct sockaddr *)&from, &fromlen) < 0) { in get_remote_hostname() 71 if (getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop), in get_remote_hostname() 80 if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), in get_remote_hostname() 253 if (getpeername(sock, (struct sockaddr *)&addr, &addrlen) in get_socket_address() 257 if (getsockname(sock, (struct sockaddr *)&addr, &addrlen) in get_socket_address() 272 if ((r = getnameinfo((struct sockaddr *)&addr, addrlen, ntop, in get_socket_address() 383 if (getsockname(sock, (struct sockaddr *)&from, &fromlen) < 0) { in get_sock_port() 388 if (getpeername(sock, (struct sockaddr *)&from, &fromlen) < 0) { in get_sock_port() 403 if ((r = getnameinfo((struct sockaddr *)&from, fromlen, NULL, 0, in get_sock_port()
|
/external/clang/test/Analysis/ |
D | casts.c | 14 struct sockaddr { sa_family_t sa_family; }; struct 21 struct sockaddr* sockaddr = (struct sockaddr*)&storage; in f() local 23 getsockname(sock, sockaddr, &addrlen); in f() 24 switch (sockaddr->sa_family) { // no-warning in f()
|
/external/libpcap/lbl/ |
D | os-sunos4.h | 53 struct sockaddr; 55 int accept(int, struct sockaddr *, int *); 56 int bind(int, struct sockaddr *, int); 63 int connect(int, struct sockaddr *, int); 96 int getpeername(int, struct sockaddr *, int *); 102 int getsockname(int, struct sockaddr *, int *); 138 int recvfrom(int, char *, u_int, int, struct sockaddr *, int *); 143 int sendto(int, char *, u_int, int, struct sockaddr *, int);
|
/external/tcpdump/lbl/ |
D | os-sunos4.h | 53 struct sockaddr; 55 int accept(int, struct sockaddr *, int *); 56 int bind(int, struct sockaddr *, int); 63 int connect(int, struct sockaddr *, int); 96 int getpeername(int, struct sockaddr *, int *); 102 int getsockname(int, struct sockaddr *, int *); 138 int recvfrom(int, char *, u_int, int, struct sockaddr *, int *); 143 int sendto(int, char *, u_int, int, struct sockaddr *, int);
|
/external/valgrind/memcheck/tests/linux/ |
D | rfcomm.c | 53 bind(nSocket, (struct sockaddr *) &aAddr, sizeof(aAddr)); in main() 59 bind(nSocket, (struct sockaddr *) &aAddr, sizeof(aAddr)); in main() 63 bind(nSocket, (struct sockaddr *) &aAddr, sizeof(aAddr)); in main() 67 bind(nSocket, (struct sockaddr *) &aAddr, sizeof(aAddr)); in main() 71 bind(nSocket, (struct sockaddr *) &aAddr, sizeof(aAddr)); in main()
|
/external/dhcpcd/ |
D | ifaddrs.h | 19 struct sockaddr *ifa_addr; 20 struct sockaddr *ifa_netmask; 22 struct sockaddr *ifu_broadaddr; 23 struct sockaddr *ifu_dstaddr;
|
/external/toybox/toys/pending/ |
D | tftpd.c | 77 static void send_errpkt(struct sockaddr *dstaddr, in send_errpkt() 88 static void do_action(struct sockaddr *srcaddr, struct sockaddr *dstaddr, in do_action() 245 if (getsockname(0, (struct sockaddr *)&srcaddr, &socklen)) { in tftpd_main() 263 send_errpkt((struct sockaddr*)&dstaddr, socklen, "packet format error"); in tftpd_main() 271 send_errpkt((struct sockaddr*)&dstaddr, socklen, in tftpd_main() 278 send_errpkt((struct sockaddr*)&dstaddr, socklen, "dot in filename"); in tftpd_main() 285 send_errpkt((struct sockaddr*)&dstaddr, socklen, "packet format error"); in tftpd_main() 309 do_action((struct sockaddr*)&srcaddr, (struct sockaddr*)&dstaddr, in tftpd_main()
|