Home
last modified time | relevance | path

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

/external/autotest/client/deps/lansim/src/py/
Dtuntap.py37 def pack_struct_ifreq(if_name, argname, *args): function
113 pack_struct_ifreq(name, 'ifr_flags', mode))
130 pack_struct_ifreq(self.name, 'ifr_mtu', 0))
137 pack_struct_ifreq(self.name, 'ifr_flags', 0))
144 pack_struct_ifreq(self.name, 'ifr_flags', flags))
155 pack_struct_ifreq(self.name, 'ifr_addr', socket.AF_INET, 0, ''))
171 pack_struct_ifreq(self.name, 'ifr_addr',
178 pack_struct_ifreq(self.name, 'ifr_addr',
188 pack_struct_ifreq(self.name, 'ifr_hwaddr', 0, ''))
203 pack_struct_ifreq(self.name, 'ifr_hwaddr', 1, # 1 for Ethernet