Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c186 if (mtu != dpkt->pkt_max_len && in init_pkt()
190 dpkt->pkt_max_len = mtu; in init_pkt()
193 if (sizeof (*v6) > dpkt->pkt_max_len) { in init_pkt()
202 (void) memset(v6, 0, dpkt->pkt_max_len); in init_pkt()
222 if (mtu != dpkt->pkt_max_len && in init_pkt()
225 dpkt->pkt_max_len = mtu; in init_pkt()
228 if (offsetof(PKT, options) > dpkt->pkt_max_len) { in init_pkt()
237 (void) memset(v4, 0, dpkt->pkt_max_len); in init_pkt()
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.h91 unsigned int pkt_max_len; /* its maximum length */ member