Lines Matching refs:olen

104 	uint_t olen;  in server_unicast_option()  local
106 d6o = dhcpv6_pkt_option(plp, NULL, DHCPV6_OPT_UNICAST, &olen); in server_unicast_option()
107 olen -= sizeof (*d6o); in server_unicast_option()
111 } else if (olen != sizeof (dsmp->dsm_server)) { in server_unicast_option()
118 (void) memcpy(&addr, d6o + 1, olen); in server_unicast_option()
254 uint_t olen, msglen; in dhcp_requesting() local
258 &olen); in dhcp_requesting()
259 (void) dhcpv6_status_code(d6o, olen, &estr, &msg, &msglen); in dhcp_requesting()
369 uint_t olen, solen; in compute_points_v6() local
389 d6o = dhcpv6_pkt_option(pkt, NULL, DHCPV6_OPT_STATUS_CODE, &olen); in compute_points_v6()
390 if (dhcpv6_status_code(d6o, olen, &estr, &msg, &msglen) == in compute_points_v6()
403 &olen)) != NULL) { in compute_points_v6()
418 olen - sizeof (dhcpv6_ia_na_t), NULL, in compute_points_v6()
443 d6o = dhcpv6_pkt_option(pkt, NULL, DHCPV6_OPT_PREFERENCE, &olen); in compute_points_v6()
444 if (d6o != NULL && olen == sizeof (*d6o) + 1) { in compute_points_v6()
703 uint_t olen; in accept_v6_message() local
722 d6o = dhcpv6_pkt_option(plp, NULL, DHCPV6_OPT_CLIENTID, &olen); in accept_v6_message()
723 olen -= sizeof (*d6o); in accept_v6_message()
724 if (d6o == NULL || olen != dsmp->dsm_cidlen || in accept_v6_message()
725 memcmp(d6o + 1, dsmp->dsm_cid, olen) != 0) { in accept_v6_message()
744 d6o = dhcpv6_pkt_option(plp, NULL, DHCPV6_OPT_SERVERID, &olen); in accept_v6_message()
755 olen -= sizeof (*d6o); in accept_v6_message()
756 if (olen != dsmp->dsm_serveridlen || in accept_v6_message()
757 memcmp(d6o + 1, dsmp->dsm_serverid, olen) != 0) { in accept_v6_message()
775 DHCPV6_OPT_RAPID_COMMIT, &olen) == NULL) { in accept_v6_message()
797 &olen); in accept_v6_message()
798 if (d6o != NULL && olen == sizeof (*d6o) + 1 && in accept_v6_message()
837 &olen); in accept_v6_message()
838 status = dhcpv6_status_code(d6o, olen, &estr, &msg, &msglen); in accept_v6_message()
910 &olen); in accept_v6_message()
911 if (dhcpv6_status_code(d6o, olen, &estr, &msg, in accept_v6_message()
941 &olen); in accept_v6_message()
942 if (dhcpv6_status_code(d6o, olen, &estr, &msg, in accept_v6_message()