Searched refs:u_short (Results 1 – 12 of 12) sorted by relevance
79 if ((u_short)(n) >= 256) { \89 if ((u_short)(n) >= 256 || (u_short)(n) == 0) { \112 u_short tmp = ntohs(f) + (((u_short)cp[1] << 8) | cp[2]); \116 u_short tmp = ntohs(f) + (u_short)*cp++; \123 (f) = htons(((u_short)cp[1] << 8) | cp[2]); \126 (f) = htons((u_short)*cp++); \142 register u_short hlen = IPH_HL(ip); in vj_compress_tcp()145 register u_short deltaS, deltaA; in vj_compress_tcp()258 if (((u_short *)ip)[0] != ((u_short *)&cs->cs_ip)[0] in vj_compress_tcp()259 || ((u_short *)ip)[3] != ((u_short *)&cs->cs_ip)[3] in vj_compress_tcp()[all …]
239 u_short protocol; /* PPP protocol number */279 u_short xmit_idle; /* seconds since last NP packet sent */280 u_short recv_idle; /* seconds since last NP packet received */293 u_short idle_time_limit; /* Shut down link if idle for this long */
55 typedef unsigned short u_short; typedef178 u_short pppMTU(int pd);
107 u_short cs_hlen; /* size of hdr (receive only) */137 u_short flags;
101 u_short mru; /* Value of MRU */103 u_short mrru; /* Value of MRRU, and multilink enable */
60 #define HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short))80 u_short protocol; /* Data Link Layer Protocol field value */
60 #define UPAP_HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short))
90 u_short vj_protocol; /* protocol value to use in VJ option */
428 u_short cilen, citype, cishort; in ipcp_ackci()550 u_short cishort; in ipcp_nakci()754 u_short cishort; in ipcp_rejci()878 u_short cilen, citype; /* Parsed len, type */ in ipcp_reqci()879 u_short cishort; /* Parsed short value */ in ipcp_reqci()911 cilen = (u_short)l;/* Reject till end of packet */ in ipcp_reqci()
450 u_short prot; in lcp_rprotrej()452 if (len < (int)sizeof (u_short)) { in lcp_rprotrej()641 u_short cishort; in lcp_ackci()764 u_short cishort; in lcp_nakci()1083 u_short cishort; in lcp_rejci()1234 u_short cishort; /* Parsed short value */ in lcp_reqci()1776 u_short cishort; in lcp_printpkt()
297 static const u_short fcstab[256] = {770 u_short protocol = PPP_IP; in pppifOutputOverEthernet()815 u_short protocol = PPP_IP; in pppifOutput()1012 u_short1016 u_short st; in pppMTU()
751 u_short itime; in check_idle()878 static u_short attempts = 0; in check_passwd()