Lines Matching refs:sublen
873 uint16_t code, sublen; in dhcpv6_parse_option_iaaddr() local
880 ret = net_pkt_read_be16(pkt, &sublen); in dhcpv6_parse_option_iaaddr()
887 ret = dhcpv6_parse_option_status_code(pkt, sublen, in dhcpv6_parse_option_iaaddr()
895 NET_DBG("Unexpected option %d length %d", code, sublen); in dhcpv6_parse_option_iaaddr()
897 ret = net_pkt_skip(pkt, sublen); in dhcpv6_parse_option_iaaddr()
905 length -= (sublen + 4); in dhcpv6_parse_option_iaaddr()
956 uint16_t code, sublen; in dhcpv6_parse_option_ia_na() local
963 ret = net_pkt_read_be16(pkt, &sublen); in dhcpv6_parse_option_ia_na()
970 ret = dhcpv6_parse_option_iaaddr(pkt, sublen, in dhcpv6_parse_option_ia_na()
979 ret = dhcpv6_parse_option_status_code(pkt, sublen, in dhcpv6_parse_option_ia_na()
988 NET_DBG("Unexpected option %d length %d", code, sublen); in dhcpv6_parse_option_ia_na()
990 ret = net_pkt_skip(pkt, sublen); in dhcpv6_parse_option_ia_na()
998 length -= (sublen + 4); in dhcpv6_parse_option_ia_na()
1049 uint16_t code, sublen; in dhcpv6_parse_option_iaprefix() local
1056 ret = net_pkt_read_be16(pkt, &sublen); in dhcpv6_parse_option_iaprefix()
1063 ret = dhcpv6_parse_option_status_code(pkt, sublen, in dhcpv6_parse_option_iaprefix()
1071 NET_DBG("Unexpected option %d length %d", code, sublen); in dhcpv6_parse_option_iaprefix()
1073 ret = net_pkt_skip(pkt, sublen); in dhcpv6_parse_option_iaprefix()
1081 length -= (sublen + 4); in dhcpv6_parse_option_iaprefix()
1132 uint16_t code, sublen; in dhcpv6_parse_option_ia_pd() local
1139 ret = net_pkt_read_be16(pkt, &sublen); in dhcpv6_parse_option_ia_pd()
1146 ret = dhcpv6_parse_option_iaprefix(pkt, sublen, in dhcpv6_parse_option_ia_pd()
1155 ret = dhcpv6_parse_option_status_code(pkt, sublen, in dhcpv6_parse_option_ia_pd()
1163 NET_DBG("Unexpected option %d length %d", code, sublen); in dhcpv6_parse_option_ia_pd()
1165 ret = net_pkt_skip(pkt, sublen); in dhcpv6_parse_option_ia_pd()
1173 length -= (sublen + 4); in dhcpv6_parse_option_ia_pd()