Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dnet_test.py63 IFNAMSIZ = 16 variable
211 ifr = struct.pack("%dsi" % IFNAMSIZ, ifname, 0)
213 return struct.unpack("%dsi" % IFNAMSIZ, ifr)[1]
222 ifr = struct.pack("%dsH6s" % IFNAMSIZ, ifname, scapy.ARPHDR_ETHER, hwaddr)
228 ifr = struct.pack("%dsH" % IFNAMSIZ, ifname, 0)
230 _, flags = struct.unpack("%dsH" % IFNAMSIZ, ifr)
235 ifr = struct.pack("%dsH" % IFNAMSIZ, ifname, flags)
DREADME48 IFNAMSIZ = 16). On the guest, they are named eth0, eth1, etc.
Dsock_diag.py359 net_test.IFNAMSIZ)