Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c185 if (mtu != dpkt->pkt_max_len && in init_pkt()
189 dpkt->pkt_max_len = mtu; in init_pkt()
192 if (sizeof (*v6) > dpkt->pkt_max_len) { in init_pkt()
201 (void) memset(v6, 0, dpkt->pkt_max_len); in init_pkt()
221 if (mtu != dpkt->pkt_max_len && in init_pkt()
224 dpkt->pkt_max_len = mtu; in init_pkt()
227 if (offsetof(PKT, options) > dpkt->pkt_max_len) { in init_pkt()
236 (void) memset(v4, 0, dpkt->pkt_max_len); in init_pkt()
426 if (dpkt->pkt_cur_len + req_len > dpkt->pkt_max_len) { in add_pkt_opt()
430 dpkt->pkt_cur_len, req_len, dpkt->pkt_max_len); in add_pkt_opt()
[all …]
H A Dpacket.h92 unsigned int pkt_max_len; /* its maximum length */ member