Lines Matching refs:packet
38 This example program sends a single DHCP discovery packet,
40 a targeted packet.
79 # The DHCP packet definition (incl. all headers)
80 class packet(ctypes.BigEndianStructure):
280 pkt = packet.from_address(addr_txbufs)
317 logging.info('DHCP discovery packet sent')
332 pkt = packet.from_address(addr_rxbufs + i * bufsize)
334 logging.debug('RX #%d: broadcast packet: length %u' % (i, bd.length))
337 logging.debug('RX #%d: packet for %s?' % (i, mac_str(pkt.eth_dest)))
339 logging.debug('RX %d: packet from %s!' % (i, mac_str(pkt.eth_src)))