Home
last modified time | relevance | path

Searched refs:sendsock (Results 1 – 2 of 2) sorted by relevance

/external/ipsec-tools/src/racoon/
Dsockmisc.c701 int sendsock; local
704 sendsock = s;
715 sendsock = socket(src->sa_family, SOCK_DGRAM, 0);
716 if (sendsock < 0) {
722 protectFromVpn(sendsock);
725 if (setsockopt(sendsock, SOL_SOCKET,
735 close(sendsock);
740 setsockopt(sendsock, IPPROTO_IPV6, IPV6_USE_MIN_MTU,
745 close(sendsock);
749 if (setsockopt_bypass(sendsock, src->sa_family) < 0) {
[all …]
/external/scapy/scapy/
Dsendrecv.py817 sendsock = peers[pkt.sniffed_on]
838 sendsock.send(newpkt)