Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dnet_test.py64 IFNAMSIZ = 16 variable
212 ifr = struct.pack("%dsi" % IFNAMSIZ, ifname, 0)
214 return struct.unpack("%dsi" % IFNAMSIZ, ifr)[1]
223 ifr = struct.pack("%dsH6s" % IFNAMSIZ, ifname, scapy.ARPHDR_ETHER, hwaddr)
229 ifr = struct.pack("%dsH" % IFNAMSIZ, ifname, 0)
231 _, flags = struct.unpack("%dsH" % IFNAMSIZ, ifr)
236 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)