Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcp_hostconf.c188 d6o.d6o_len = ntohs(d6o.d6o_len); in read_hostconf()
189 subomax = opts + sizeof (d6o) + d6o.d6o_len; in read_hostconf()
237 d6o.d6o_len = ntohs(d6o.d6o_len); in read_hostconf()
238 if (opts + sizeof (d6o) + d6o.d6o_len > in read_hostconf()
243 d6o.d6o_len; in read_hostconf()
260 opts += sizeof (d6o) + d6o.d6o_len; in read_hostconf()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dhcpv6.c603 d6o.d6o_len = olen = ntohs(d6o.d6o_len); in show_options()
861 sd6o.d6o_len = ntohs(sd6o.d6o_len); in show_options()
867 if (sd6o.d6o_len > olen) { in show_options()
871 sd6o.d6o_len = olen; in show_options()
873 if (sd6o.d6o_len > 0) { in show_options()
874 show_hex(data, sd6o.d6o_len, in show_options()
876 data += sd6o.d6o_len; in show_options()
877 olen -= sd6o.d6o_len; in show_options()
1045 data = ostart + d6o.d6o_len; in show_options()
1046 len -= d6o.d6o_len; in show_options()
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c307 len = ntohs(d6o.d6o_len) + sizeof (d6o); in remove_pkt_opt()
392 adjust += ntohs(optval.d6o_len); in update_v6opt_len()
396 optval.d6o_len = htons(adjust); in update_v6opt_len()
484 d6o.d6o_len = htons(opt_len); in encode_dhcp_opt()
555 olen = ntohs(d6o.d6o_len); in add_pkt_subopt()
558 d6o.d6o_len = htons(olen); in add_pkt_subopt()
576 d6o.d6o_len = htons(opt_len); in add_pkt_subopt()
H A Dagent.c879 d6o->d6o_len = htons(optnum.size); in ipc_event()
920 optlen = ntohs(d6ov.d6o_len) + sizeof (d6ov); in ipc_event()
/illumos-gate/usr/src/uts/common/netinet/
H A Ddhcp6.h176 uint16_t d6o_len; member
/illumos-gate/usr/src/common/net/dhcp/
H A Dscan.c202 olen = ntohs(d6o.d6o_len) + sizeof (d6o); in dhcpv6_find_option()
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpinfo/
H A Ddhcpinfo.c205 if (opt_len != ntohs(d6o.d6o_len) + sizeof (d6o)) in main()
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c984 d6o->d6o_len = htons(length); in inittab_encode_e()
1033 length = ntohs(d6o.d6o_len); in inittab_decode_e()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_protect.c916 olen = ntohs(d6o.d6o_len) + sizeof (d6o); in get_dhcpv6_option()
919 if (d6o.d6o_code != codenum || d6o.d6o_len == 0 || in get_dhcpv6_option()