/kernel/tests/net/test/ |
D | namespace.py | 79 def Mount(src, tgt, fs, flags=MS_NODEV|MS_NOEXEC|MS_NOSUID|MS_RELATIME): argument 80 ret = libc.mount(src, tgt, fs, flags, None) 84 % (os.strerror(errno), src, tgt, fs, flags)) 108 def UnShare(flags): argument 109 ret = libc.unshare(flags) 112 raise OSError(errno, '%s while unshare(0x%x)' % (os.strerror(errno), flags))
|
D | packets.py | 88 flags=TCP_SYN, window=TCP_WINDOW)) 93 was_syn_or_fin = (original.flags & (TCP_SYN | TCP_FIN)) != 0 99 flags=TCP_RST | TCP_ACK, window=TCP_WINDOW)) 108 flags=TCP_SYN | TCP_ACK, window=None)) 113 was_syn_or_fin = (original.flags & (TCP_SYN | TCP_FIN)) != 0 116 flags = TCP_ACK | TCP_PSH if payload else TCP_ACK 121 flags=flags, window=TCP_WINDOW) / 127 was_syn_or_fin = (original.flags & (TCP_SYN | TCP_FIN)) != 0 133 flags=TCP_ACK | TCP_FIN, window=TCP_WINDOW))
|
D | xfrm.py | 288 flags=XFRM_POLICY_LOCALOK, 347 def MaybeDebugCommand(self, command, flags, data): argument 352 if flags & netlink.NLM_F_DUMP: 451 flags=netlink.NLM_F_ACK|netlink.NLM_F_REQUEST): argument 491 return self._SendNlRequest(msg_type, msg, flags) 562 flags = XFRM_STATE_AF_UNSPEC if mode == XFRM_MODE_TUNNEL else 0 566 cur, stats, seq, reqid, family, mode, replay, flags)) 568 flags = netlink.NLM_F_REQUEST | netlink.NLM_F_ACK 570 self._SendNlRequest(nl_msg_type, msg, flags) 613 flags = netlink.NLM_F_REQUEST [all …]
|
D | csocket.py | 218 def Sendmsg(s, to, data, control, flags): argument 270 msg_control, msg_controllen, flags)).Pack() 295 def Recvmsg(s, buflen, controllen, flags, addrlen=len(SockaddrStorage)): argument 324 msg_control, msg_controllen, flags)) 325 ret = libc.recvmsg(s.fileno(), VoidPointer(msghdr), flags) 337 def Recvfrom(s, size, flags=0): argument 343 ret = libc.recvfrom(s.fileno(), buf, len(buf), flags,
|
D | net_test.py | 124 flags = fcntl.fcntl(fd, fcntl.F_GETFL, 0) 125 fcntl.fcntl(fd, fcntl.F_SETFL, flags | os.O_NONBLOCK) 231 _, flags = struct.unpack("%dsH" % IFNAMSIZ, ifr) 233 flags |= scapy.IFF_UP 235 flags &= ~scapy.IFF_UP 236 ifr = struct.pack("%dsH" % IFNAMSIZ, ifname, flags) 333 flags = IPV6_FL_F_CREATE 335 return struct.pack(fmt, addr, label, action, share, flags, 0, 0, pad)
|
D | genetlink.py | 60 def _SendCommand(self, family, command, version, data, flags): argument 62 self._SendNlRequest(family, genlmsghdr.Pack() + data, flags)
|
D | run_net_test.sh | 8 flags = fcntl.fcntl(fd, fcntl.F_GETFL) 9 flags &= ~(fcntl.FASYNC | os.O_NONBLOCK | os.O_APPEND) 10 fcntl.fcntl(fd, fcntl.F_SETFL, flags)
|
D | bpf.py | 216 def UpdateMap(map_fd, key, value, flags=0): argument 221 attr = BpfAttrOps((map_fd, key_ptr, value_ptr, flags))
|
D | pf_key.py | 284 sa.spi, sa.replay, state, auth, encrypt, sa.flags))
|
D | sock_diag_test.py | 829 flags = [name for (flag, name) in self.POLL_FLAGS 831 out.append((fd, "|".join(flags)))
|
D | multinetwork_base.py | 623 actualip.flags &= 5
|
/kernel/configs/build/ |
D | kernel_config.go | 36 Command: `${assembleVintfCmd} ${flags} -i ${in} -o ${out}`,
|