Home
last modified time | relevance | path

Searched refs:IFNAMSIZ (Results 1 – 3 of 3) sorted by relevance

/kernel/tests/net/test/
Dnet_test.py67 IFNAMSIZ = 16 variable
272 ifr = struct.pack("%dsi" % IFNAMSIZ, ifname.encode(), 0)
274 return struct.unpack("%dsi" % IFNAMSIZ, ifr)[1]
283 ifr = struct.pack("%dsH6s" % IFNAMSIZ, ifname.encode(), scapy.ARPHDR_ETHER,
291 ifr = struct.pack("%dsH" % IFNAMSIZ, ifname_bytes, 0)
293 _, flags = struct.unpack("%dsH" % IFNAMSIZ, ifr)
298 ifr = struct.pack("%dsH" % IFNAMSIZ, ifname_bytes, flags)
DREADME48 IFNAMSIZ = 16). On the guest, they are named eth0, eth1, etc.
Dsock_diag.py361 net_test.IFNAMSIZ)