fan-leo
Results
2
comments of
fan-leo
请问该问题最后怎么解决的?
such as: ``` self.hostif = sai_thrift_create_hostif(self.client,name=hostif_name,/* hostif created in DUT*/ obj_id=self.iport,type=SAI_HOSTIF_TYPE_NETDEV) self.assertNotEqual(self.hostif, 0) self.hif_socket = open_packet_socket(hostif_name) def open_packet_socket(hostif_name): eth_p_all = 3 sock = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(eth_p_all)) sock.bind((hostif_name, eth_p_all))/*occur error, hostif...