Searched refs:IFNAMSIZ (Results 1 – 3 of 3) sorted by relevance
/kernel/tests/net/test/ |
D | net_test.py | 64 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)
|
D | README | 48 IFNAMSIZ = 16). On the guest, they are named eth0, eth1, etc.
|
D | sock_diag.py | 359 net_test.IFNAMSIZ)
|