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