Searched refs:hulen (Results 1 – 1 of 1) sorted by relevance
938 int hupos, hulen = 0, husep = 0; in ng_pppoe_rcvmsg() local951 hulen = i - hupos; in ng_pppoe_rcvmsg()956 srvpos = hupos + hulen + husep; in ng_pppoe_rcvmsg()963 if (hulen == 0) { in ng_pppoe_rcvmsg()968 } else if (hulen > 2 && ourmsg->data[hupos] == '0' && in ng_pppoe_rcvmsg()969 ourmsg->data[hupos + 1] == 'x' && hulen % 2 == 0) { in ng_pppoe_rcvmsg()974 neg->host_uniq.hdr.tag_len = htons((uint16_t)(hulen / 2 - 1)); in ng_pppoe_rcvmsg()975 for (i = 0; i < hulen - 2; i++) { in ng_pppoe_rcvmsg()987 neg->host_uniq_len = hulen / 2 - 1; in ng_pppoe_rcvmsg()990 neg->host_uniq.hdr.tag_len = htons((uint16_t)hulen); in ng_pppoe_rcvmsg()[all …]