Home
last modified time | relevance | path

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

/original-bsd/sys/netns/
H A Dns_error.c100 if (oip->idp_len < sizeof(struct idp)) {
125 nip->idp_len = sizeof(*ep);
126 nip->idp_len = htons((u_short)nip->idp_len);
175 printf("len %d\n", ntohs(epidp->ns_ep_idp.idp_len));
294 (int)(((ntohs(idp->idp_len) - 1)|1)+1));
H A Didp.h15 u_short idp_len; /* Length, in bytes, including header */ member
H A Dspidp.h24 #define si_len si_i.idp_len
H A Dns_input.c109 len = ntohs(idp->idp_len); in nsintr()
310 mcopy = m_copy(m, 0, imin((int)ntohs(idp->idp_len), 42));
355 shift = (((((int)ntohs(idp->idp_len))+1)>>1)-2) & 0xf;
453 idp->idp_len = ntohl(m0->m_pkthdr.len);
H A Dns_output.c112 if (htons(idp->idp_len) <= ifp->if_mtu) {
H A Dns_ip.c176 len = ntohs(idp->idp_len);
231 len = ntohs(idp->idp_len);
H A Dspp_debug.c122 ((struct idp *)si)->idp_len);
H A Didp_usrreq.c173 idp->idp_len = htons((u_short)len);
278 idp->idp_len = 0;