Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c200 dpkt->pkt_cur_len = sizeof (*v6); in init_pkt()
235 dpkt->pkt_cur_len = offsetof(PKT, options); in init_pkt()
298 raw_end = raw_pkt + dpkt->pkt_cur_len; in remove_pkt_opt()
316 dpkt->pkt_cur_len -= len; in remove_pkt_opt()
355 dpkt->pkt_cur_len -= torem; in remove_pkt_opt()
361 dpkt->pkt_cur_len += toadd; in remove_pkt_opt()
368 dpkt->pkt_cur_len -= len; in remove_pkt_opt()
421 optr = raw_pkt + dpkt->pkt_cur_len; in add_pkt_opt()
425 if (dpkt->pkt_cur_len + req_len > dpkt->pkt_max_len) { in add_pkt_opt()
429 dpkt->pkt_cur_len, req_len, dpkt->pkt_max_len); in add_pkt_opt()
[all …]
H A Dpacket.h92 unsigned int pkt_cur_len; /* its current length */ member