29 s =
format (s,
"discover");
51 u32 max_bytes = va_arg (*args,
u32);
55 s =
format (s,
"opcode:%s", (d->
opcode == 1 ?
"request" :
"reply"));
56 s =
format (s,
" hw[type:%d addr-len:%d addr:%U]",
72 while (o->
option != 0xFF &&
73 (
u8 *) o < (
u8 *) d + max_bytes)
83 s =
format (s,
", option-54: server:%U",
87 s =
format (s,
", option-58: renewal:%d",
91 s =
format (s,
", option-1: subnet-mask:%d",
95 s =
format (s,
", option-3: router:%U",
99 s =
format (s,
", option-6: domian-server:%U",
103 s =
format (s,
", option-12: hostname:%U",
108 s =
format (s,
" option-%d: skipped", tmp);
u8 * format_dhcp_packet_type(u8 *s, va_list *args)
u8 * format_dhcp_header(u8 *s, va_list *args)