Searched refs:write_sock (Results 1 – 1 of 1) sorted by relevance
/kernel/tests/net/test/ |
D | xfrm_tunnel_test.py | 123 write_sock = socket(net_test.GetAddressFamily(version), SOCK_DGRAM, 0) 124 testInstance.SelectInterface(write_sock, netid, "mark") 125 write_sock.sendto(net_test.UDP_PAYLOAD, (remote, remote_port)) 126 local_port = write_sock.getsockname()[1] 151 remote_outer, write_sock): argument 153 write_sock.sendto(net_test.UDP_PAYLOAD, (remote_inner, 53)) 208 write_sock = socket(net_test.GetAddressFamily(inner_version), SOCK_DGRAM, 0) 209 self.SelectInterface(write_sock, netid, "mark") 212 sock = write_sock if direction == xfrm.XFRM_POLICY_OUT else read_sock
|