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