Searched defs:dhcp_packet (Results 1 – 2 of 2) sorted by relevance
49 struct dhcp_packet { struct50 u_int8_t op; /* 0: Message opcode/type */51 u_int8_t htype; /* 1: Hardware addr type (net/if_types.h) */52 u_int8_t hlen; /* 2: Hardware addr length */53 u_int8_t hops; /* 3: Number of relay agent hops from client */54 u_int32_t xid; /* 4: Transaction ID */55 u_int16_t secs; /* 8: Seconds since client started looking */56 u_int16_t flags; /* 10: Flag bits */57 struct in_addr ciaddr; /* 12: Client IP address (if already in use) */58 struct in_addr yiaddr; /* 16: Client IP address */[all …]
3556 dhcp_packet(struct interface *ifp, uint8_t *data, size_t len, in dhcp_packet() function