Home
last modified time | relevance | path

Searched refs:host_uniq (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/netgraph/
H A Dng_pppoe.c262 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()
[all …]