HomeSort by relevance Sort by last modified time
    Searched refs:addr_len (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/tcpdump/
print-fr.c 104 u_int *addr_len, u_int8_t *flags)
109 *addr_len = 2;
121 (*addr_len)++; /* 3- or 4-byte Q.922 address */
124 (*addr_len)++; /* 4-byte Q.922 address */
168 fr_hdrlen(const u_char *p, u_int addr_len)
170 if (!p[addr_len + 1] /* pad exist */)
171 return addr_len + 1 /* UI */ + 1 /* pad */ + 1 /* NLPID */;
173 return addr_len + 1 /* UI */ + 1 /* NLPID */;
177 fr_hdr_print(int length, u_int addr_len, u_int dlci, u_int8_t *flags, u_int16_t nlpid)
186 addr_len,
226 u_int addr_len; local
    [all...]
  /external/chromium/net/udp/
udp_socket_libevent.cc 89 socklen_t addr_len = sizeof(addr_storage); local
91 if (getpeername(socket_, addr, &addr_len))
94 if (!address->FromSockAddr(addr, addr_len))
111 socklen_t addr_len = sizeof(addr_storage); local
113 if (getsockname(socket_, addr, &addr_len))
116 if (!address->FromSockAddr(addr, addr_len))
217 size_t addr_len = sizeof(addr_storage); local
219 if (!address.ToSockAddr(addr, &addr_len))
222 rv = HANDLE_EINTR(connect(socket_, addr, addr_len));
238 size_t addr_len = sizeof(addr_storage) local
320 socklen_t addr_len = sizeof(addr_storage); local
348 size_t addr_len = sizeof(addr_storage); local
    [all...]
udp_socket_win.cc 85 int addr_len = sizeof(addr_storage); local
87 if (getpeername(socket_, addr, &addr_len))
90 if (!address->FromSockAddr(addr, addr_len))
107 socklen_t addr_len = sizeof(addr_storage); local
109 if (getsockname(socket_, addr, &addr_len))
112 if (!address->FromSockAddr(addr, addr_len))
188 size_t addr_len = sizeof(addr_storage); local
190 if (!address.ToSockAddr(addr, &addr_len))
193 rv = connect(socket_, addr, addr_len);
209 size_t addr_len = sizeof(addr_storage) local
337 size_t addr_len = sizeof(addr_storage); local
    [all...]
  /external/chromium/net/socket/
tcp_server_socket_libevent.cc 74 size_t addr_len = sizeof(addr_storage); local
76 if (!address.ToSockAddr(addr, &addr_len))
79 int result = bind(socket_, addr, addr_len);
103 socklen_t addr_len = sizeof(addr_storage); local
105 if (getsockname(socket_, addr, &addr_len) < 0)
107 if (!address->FromSockAddr(addr, addr_len))
142 socklen_t addr_len = sizeof(addr_storage); local
145 int result = HANDLE_EINTR(accept(socket_, addr, &addr_len));
154 if (!address.FromSockAddr(addr, addr_len)) {
tcp_server_socket_win.cc 62 size_t addr_len = sizeof(addr_storage); local
64 if (!address.ToSockAddr(addr, &addr_len))
67 int result = bind(socket_, addr, addr_len);
91 socklen_t addr_len = sizeof(addr_storage); local
93 if (getsockname(socket_, addr, &addr_len))
95 if (!address->FromSockAddr(addr, addr_len))
126 socklen_t addr_len = sizeof(addr_storage); local
129 int result = accept(socket_, addr, &addr_len);
138 if (!address.FromSockAddr(addr, addr_len)) {
  /external/chromium/net/base/
ip_endpoint_unittest.cc 82 size_t addr_len = sizeof(addr); local
84 EXPECT_TRUE(ip_endpoint.ToSockAddr(sockaddr, &addr_len));
89 EXPECT_EQ(expected_size, addr_len);
90 EXPECT_EQ(ip_endpoint.port(), GetPortFromSockaddr(sockaddr, addr_len));
94 EXPECT_TRUE(ip_endpoint2.FromSockAddr(sockaddr, addr_len));
105 size_t addr_len = index; // size is too small! local
107 EXPECT_FALSE(ip_endpoint.ToSockAddr(sockaddr, &addr_len));
ip_endpoint.cc 111 size_t addr_len = sizeof(addr_storage); local
113 if (!ToSockAddr(addr, &addr_len)) {
116 return NetAddressToStringWithPort(addr, addr_len);
  /external/chromium_org/net/udp/
udp_socket_libevent.cc 127 if (getpeername(socket_, storage.addr, &storage.addr_len))
130 if (!address->FromSockAddr(storage.addr, storage.addr_len))
147 if (getsockname(socket_, storage.addr, &storage.addr_len))
150 if (!address->FromSockAddr(storage.addr, storage.addr_len))
280 if (!address.ToSockAddr(storage.addr, &storage.addr_len)) {
285 rv = HANDLE_EINTR(connect(socket_, storage.addr, storage.addr_len));
393 socklen_t addr_len,
401 DCHECK(addr_len > 0);
405 bool is_address_valid = address.FromSockAddr(addr, addr_len);
474 &storage.addr_len));
    [all...]
udp_socket_win.cc 218 if (getpeername(socket_, storage.addr, &storage.addr_len))
221 if (!address->FromSockAddr(storage.addr, storage.addr_len))
239 if (getsockname(socket_, storage.addr, &storage.addr_len))
242 if (!address->FromSockAddr(storage.addr, storage.addr_len))
348 if (!address.ToSockAddr(storage.addr, &storage.addr_len))
351 rv = connect(socket_, storage.addr, storage.addr_len);
514 storage.addr_len = sizeof(storage.addr_storage);
525 &storage.addr_len, &core_->read_overlapped_, NULL);
558 storage.addr_len = 0;
560 if (!address->ToSockAddr(addr, &storage.addr_len)) {
    [all...]
  /external/openssh/
entropy.c 76 int fd, addr_len, rval, errors; local
98 addr_len = sizeof(*addr_in);
103 addr_len = offsetof(struct sockaddr_un, sun_path) +
118 if (connect(fd, (struct sockaddr*)&addr, addr_len) == -1) {
  /external/chromium_org/net/base/
ip_endpoint_unittest.cc 82 EXPECT_TRUE(ip_endpoint.ToSockAddr(storage.addr, &storage.addr_len));
87 EXPECT_EQ(expected_size, storage.addr_len);
89 storage.addr_len));
93 EXPECT_TRUE(ip_endpoint2.FromSockAddr(storage.addr, storage.addr_len));
104 storage.addr_len = index; // size is too small!
105 EXPECT_FALSE(ip_endpoint.ToSockAddr(storage.addr, &storage.addr_len));
address_list_unittest.cc 52 storage[i].addr_len = sizeof(struct sockaddr_in);
61 ai[i].ai_addrlen = storage[i].addr_len;
  /external/chromium_org/net/dns/
address_sorter_win.cc 67 socklen_t addr_len = sizeof(SOCKADDR_STORAGE); local
68 bool result = ipe.ToSockAddr(addr, &addr_len);
71 input_buffer_->Address[i].iSockaddrLength = addr_len;
dns_config_service_posix.cc 347 size_t addr_len = 0; local
350 addr_len = sizeof res.nsaddr_list[i];
353 addr_len = sizeof *res._u._ext.nsaddrs[i];
357 if (!ipe.FromSockAddr(addr, addr_len))
  /external/chromium_org/net/socket/
tcp_socket_libevent.cc 214 if (!address.ToSockAddr(storage.addr, &storage.addr_len))
217 int result = bind(socket_, storage.addr, storage.addr_len);
430 if (getsockname(socket_, storage.addr, &storage.addr_len) < 0)
432 if (!address->FromSockAddr(storage.addr, storage.addr_len))
582 &storage.addr_len));
591 if (!ip_end_point.FromSockAddr(storage.addr, storage.addr_len)) {
622 if (!peer_address_->ToSockAddr(storage.addr, &storage.addr_len))
625 if (!HANDLE_EINTR(connect(socket_, storage.addr, storage.addr_len))) {
686 int rv = getsockname(socket_, storage.addr, &storage.addr_len);
696 storage.addr_len));
    [all...]
unix_domain_socket_posix.cc 116 socklen_t addr_len; local
119 // the '\0' character, so we are adding it. |addr_len| must specify the
124 addr_len = path.size() + offsetof(struct sockaddr_un, sun_path) + 1;
127 addr_len = sizeof(sockaddr_un);
129 if (bind(s, reinterpret_cast<sockaddr*>(&addr), addr_len)) {
  /external/wpa_supplicant_8/src/wps/
wps_er_ssdp.c 24 socklen_t addr_len; local
32 addr_len = sizeof(addr);
34 (struct sockaddr *) &addr, &addr_len);
  /external/kernel-headers/original/linux/
net.h 241 SOCKCALL_WRAP(name, bind, (struct socket *sock, struct sockaddr *uaddr, int addr_len), \
242 (sock, uaddr, addr_len)) \
244 int addr_len, int flags), \
245 (sock, uaddr, addr_len, flags)) \
251 int *addr_len, int peer), (sock, uaddr, addr_len, peer)) \
if_arp.h 167 return sizeof(struct arphdr) + (dev->addr_len + sizeof(u32)) * 2;
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
ipmi.h 266 unsigned int addr_len; member in struct:ipmi_req
319 unsigned int addr_len; /* The size of the address buffer. member in struct:ipmi_recv
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
ipmi.h 266 unsigned int addr_len; member in struct:ipmi_req
319 unsigned int addr_len; /* The size of the address buffer. member in struct:ipmi_recv
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
ipmi.h 266 unsigned int addr_len; member in struct:ipmi_req
319 unsigned int addr_len; /* The size of the address buffer. member in struct:ipmi_recv
  /external/grub/netboot/
davicom.c 79 #define EE_WRITE_CMD (5 << addr_len)
80 #define EE_READ_CMD (6 << addr_len)
81 #define EE_ERASE_CMD (7 << addr_len)
165 static int read_eeprom(unsigned long ioaddr, int location, int addr_len);
407 static int read_eeprom(unsigned long ioaddr, int location, int addr_len)
420 for (i = 4 + addr_len; i >= 0; i--) {
  /external/wpa_supplicant_8/src/ap/
iapp.c 80 u8 addr_len; /* ETH_ALEN */ member in struct:iapp_add_notify
101 u8 addr_len; /* ETH_ALEN */ member in struct:iapp_move_notify
112 u8 addr_len; /* ETH_ALEN */ member in struct:iapp_move_response
129 u8 addr_len; /* ETH_ALEN */ member in struct:iapp_cache_notify
142 u8 addr_len; /* ETH_ALEN */ member in struct:iapp_cache_response
195 add->addr_len = ETH_ALEN;
  /external/chromium_org/third_party/libjingle/source/talk/base/
macasyncsocket.cc 199 socklen_t addr_len = sizeof(saddr); local
202 &addr_len);
227 socklen_t addr_len = sizeof(saddr); local
230 &addr_len);

Completed in 358 milliseconds

1 2 3