Lines Matching refs:host_uniq
262 struct datatag host_uniq; member
633 bcmp(sp->neg->host_uniq.data, (const char *)(tag + 1), in pppoe_finduniq()
962 neg->host_uniq.hdr.tag_type = PTT_HOST_UNIQ; in ng_pppoe_rcvmsg()
965 neg->host_uniq.hdr.tag_len = htons(sizeof(sp)); in ng_pppoe_rcvmsg()
966 bcopy(&sp, neg->host_uniq.data, sizeof(sp)); in ng_pppoe_rcvmsg()
974 neg->host_uniq.hdr.tag_len = htons((uint16_t)(hulen / 2 - 1)); in ng_pppoe_rcvmsg()
983 neg->host_uniq.data[i / 2] = j << 4; in ng_pppoe_rcvmsg()
985 neg->host_uniq.data[i / 2] |= j; in ng_pppoe_rcvmsg()
990 neg->host_uniq.hdr.tag_len = htons((uint16_t)hulen); in ng_pppoe_rcvmsg()
991 bcopy(ourmsg->data + hupos, neg->host_uniq.data, hulen); in ng_pppoe_rcvmsg()
1297 insert_tag(sp, &neg->host_uniq.hdr); in pppoe_start()