Home
last modified time | relevance | path

Searched refs:from_addr (Results 1 – 23 of 23) sorted by relevance

/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg03.c104 struct sockaddr_in from_addr; in server() local
117 msg.msg_name = &from_addr; in server()
118 msg.msg_namelen = sizeof(from_addr) + 16; in server()
130 if (msg.msg_namelen != sizeof(from_addr)) { in server()
132 "expected %lu", msg.msg_namelen, sizeof(from_addr)); in server()
/external/selinux/libselinux/src/
Dlabel_support.c145 char *from_addr, size_t buf_len, in digest_add_specfile() argument
173 } else if (from_addr) { in digest_add_specfile()
176 from_addr, buf_len); in digest_add_specfile()
Dlabel_internal.h67 char *from_addr,
/external/python/cpython3/Lib/
Dsmtplib.py788 def sendmail(self, from_addr, to_addrs, msg, mail_options=(), argument
861 (code, resp) = self.mail(from_addr, esmtp_opts)
867 raise SMTPSenderRefused(code, resp, from_addr)
892 def send_message(self, msg, from_addr=None, to_addrs=None, argument
931 if from_addr is None:
933 from_addr = (msg[header_prefix + 'Sender']
936 from_addr = email.utils.getaddresses([from_addr])[0][1]
949 ''.join([from_addr, *to_addrs]).encode('ascii')
966 return self.sendmail(from_addr, to_addrs, flatmsg, mail_options,
/external/ltp/testcases/network/stress/ns-tools/
Dns-udpclient.c305 struct sockaddr_storage from_addr; /* address of a client */ in main() local
318 from_addr_len = sizeof(from_addr); in main()
321 (struct sockaddr *)&from_addr, in main()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtimestamping.c158 struct sockaddr_in *from_addr = (struct sockaddr_in *)msg->msg_name; in printpacket() local
170 inet_ntoa(from_addr->sin_addr), in printpacket()
284 struct sockaddr_in from_addr; in recvpacket() local
296 msg.msg_name = (caddr_t)&from_addr; in recvpacket()
297 msg.msg_namelen = sizeof(from_addr); in recvpacket()
/external/autotest/client/cros/
Dchrooted_avahi.py28 MONITOR_IF_IP = netblock.from_addr('10.9.8.1/24')
30 AVAHI_IF_IP = netblock.from_addr('10.9.8.2/24')
/external/e2fsprogs/misc/
Duuidd.c233 struct sockaddr_un my_addr, from_addr; in server_loop() local
338 fromlen = sizeof(from_addr); in server_loop()
341 ns = accept(s, (struct sockaddr *) &from_addr, &fromlen); in server_loop()
/external/wpa_supplicant_8/src/radius/
Dradius_server.c699 struct radius_msg *msg, const char *from_addr) in radius_server_get_new_session() argument
759 sess->nas_ip = os_strdup(from_addr); in radius_server_get_new_session()
1392 const char *from_addr, int from_port) in radius_server_reject() argument
1401 from_addr, from_port); in radius_server_reject()
1498 const char *from_addr, int from_port, in radius_server_request() argument
1528 from_addr, from_port); in radius_server_request()
1532 from_addr); in radius_server_request()
1536 from_addr, from_port); in radius_server_request()
1545 RADIUS_DEBUG("Duplicate message from %s", from_addr); in radius_server_request()
1576 from_addr); in radius_server_request()
[all …]
/external/webrtc/webrtc/base/
Dvirtualsocketserver.cc1122 void VirtualSocketServer::SetDefaultRoute(const IPAddress& from_addr) { in SetDefaultRoute() argument
1123 RTC_DCHECK(!IPIsAny(from_addr)); in SetDefaultRoute()
1124 if (from_addr.family() == AF_INET) { in SetDefaultRoute()
1125 default_route_v4_ = from_addr; in SetDefaultRoute()
1126 } else if (from_addr.family() == AF_INET6) { in SetDefaultRoute()
1127 default_route_v6_ = from_addr; in SetDefaultRoute()
Dvirtualsocketserver.h44 void SetDefaultRoute(const IPAddress& from_addr);
/external/python/cpython3/Doc/library/
Dsmtplib.rst422 .. method:: SMTP.sendmail(from_addr, to_addrs, msg, mail_options=(), rcpt_options=())
435 The *from_addr* and *to_addrs* parameters are used to construct the message
458 *from_addr* and *to_addrs* may contain non-ASCII characters.
472 The server didn't accept the *from_addr*.
493 .. method:: SMTP.send_message(msg, from_addr=None, to_addrs=None, \
501 If *from_addr* is ``None`` or *to_addrs* is ``None``, ``send_message`` fills
503 specified in :rfc:`5322`\: *from_addr* is set to the :mailheader:`Sender`
516 values of *from_addr* and *to_addrs*, ``send_message`` does not transmit any
518 in *msg*. If any of the addresses in *from_addr* and *to_addrs* contain
/external/webrtc/webrtc/p2p/base/
Drelayserver.cc592 const char* data, size_t size, const rtc::SocketAddress& from_addr) { in Send() argument
594 if (locked() && (from_addr == default_dest_)) { in Send()
612 addr_attr->SetIP(from_addr.ipaddr()); in Send()
613 addr_attr->SetPort(from_addr.port()); in Send()
/external/python/cpython2/Lib/
Dsmtplib.py667 def sendmail(self, from_addr, to_addrs, msg, mail_options=[], argument
734 (code, resp) = self.mail(from_addr, esmtp_opts)
737 raise SMTPSenderRefused(code, resp, from_addr)
/external/autotest/client/common_lib/cros/network/
Dnetblock.py9 def from_addr(addr, prefix_len=None): function
Dinterface.py384 return netblock.from_addr(netblock_str) if netblock_str else None
/external/python/cpython2/Doc/library/
Dsmtplib.rst291 .. method:: SMTP.sendmail(from_addr, to_addrs, msg[, mail_options, rcpt_options])
304 The *from_addr* and *to_addrs* parameters are used to construct the message
333 The server didn't accept the *from_addr*.
/external/autotest/server/
Dsite_linux_router.py664 server_addr = netblock.from_addr(
693 bridge_addr = netblock.from_addr(
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
Dgetelementptr.ll265 %from_addr = alloca %struct.siginfo_t*
266 %tmp344 = load %struct.siginfo_t** %from_addr, align 8
/external/python/cpython3/Lib/test/
Dtest_smtplib.py374 smtp.send_message(m, from_addr='John', to_addrs='Sally')
458 smtp.send_message(m, from_addr='joe@example.com', to_addrs='foo@example.net')
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dgetelementptr.ll430 %from_addr = alloca %struct.siginfo_t*
431 %tmp344 = load %struct.siginfo_t*, %struct.siginfo_t** %from_addr, align 8
/external/llvm/test/Transforms/InstCombine/
Dgetelementptr.ll429 %from_addr = alloca %struct.siginfo_t*
430 %tmp344 = load %struct.siginfo_t*, %struct.siginfo_t** %from_addr, align 8
/external/python/cpython3/Doc/whatsnew/
D3.2.rst711 *from_addr* and *to_addrs* addresses directly from the object.