Lines Matching refs:sublen
875 uint16_t code, sublen; in dhcpv6_parse_option_iaaddr() local
882 ret = net_pkt_read_be16(pkt, &sublen); in dhcpv6_parse_option_iaaddr()
889 ret = dhcpv6_parse_option_status_code(pkt, sublen, in dhcpv6_parse_option_iaaddr()
897 NET_DBG("Unexpected option %d length %d", code, sublen); in dhcpv6_parse_option_iaaddr()
899 ret = net_pkt_skip(pkt, sublen); in dhcpv6_parse_option_iaaddr()
907 length -= (sublen + 4); in dhcpv6_parse_option_iaaddr()
958 uint16_t code, sublen; in dhcpv6_parse_option_ia_na() local
965 ret = net_pkt_read_be16(pkt, &sublen); in dhcpv6_parse_option_ia_na()
972 ret = dhcpv6_parse_option_iaaddr(pkt, sublen, in dhcpv6_parse_option_ia_na()
981 ret = dhcpv6_parse_option_status_code(pkt, sublen, in dhcpv6_parse_option_ia_na()
990 NET_DBG("Unexpected option %d length %d", code, sublen); in dhcpv6_parse_option_ia_na()
992 ret = net_pkt_skip(pkt, sublen); in dhcpv6_parse_option_ia_na()
1000 length -= (sublen + 4); in dhcpv6_parse_option_ia_na()
1051 uint16_t code, sublen; in dhcpv6_parse_option_iaprefix() local
1058 ret = net_pkt_read_be16(pkt, &sublen); in dhcpv6_parse_option_iaprefix()
1065 ret = dhcpv6_parse_option_status_code(pkt, sublen, in dhcpv6_parse_option_iaprefix()
1073 NET_DBG("Unexpected option %d length %d", code, sublen); in dhcpv6_parse_option_iaprefix()
1075 ret = net_pkt_skip(pkt, sublen); in dhcpv6_parse_option_iaprefix()
1083 length -= (sublen + 4); in dhcpv6_parse_option_iaprefix()
1134 uint16_t code, sublen; in dhcpv6_parse_option_ia_pd() local
1141 ret = net_pkt_read_be16(pkt, &sublen); in dhcpv6_parse_option_ia_pd()
1148 ret = dhcpv6_parse_option_iaprefix(pkt, sublen, in dhcpv6_parse_option_ia_pd()
1157 ret = dhcpv6_parse_option_status_code(pkt, sublen, in dhcpv6_parse_option_ia_pd()
1165 NET_DBG("Unexpected option %d length %d", code, sublen); in dhcpv6_parse_option_ia_pd()
1167 ret = net_pkt_skip(pkt, sublen); in dhcpv6_parse_option_ia_pd()
1175 length -= (sublen + 4); in dhcpv6_parse_option_ia_pd()