Searched refs:u_short (Results 1 - 25 of 70) sorted by relevance

123

/vbox/src/VBox/Devices/Network/lwip/src/netif/ppp/
H A Dvjbsdhdr.h10 * We declare ip_len and ip_off to be short, rather than u_short
31 u_short ip_len; /* total length */
32 u_short ip_id; /* identification */
33 u_short ip_off; /* fragment offset field */
39 u_short ip_sum; /* checksum */
53 u_short th_sport; /* source port */
54 u_short th_dport; /* destination port */
70 u_short th_win; /* window */
71 u_short th_sum; /* checksum */
72 u_short th_ur
[all...]
H A Dvj.c81 if ((u_short)(n) >= 256) { \
91 if ((u_short)(n) >= 256 || (u_short)(n) == 0) { \
114 u_short tmp = ntohs(f) + (((u_short)cp[1] << 8) | cp[2]); \
118 u_short tmp = ntohs(f) + (u_short)*cp++; \
125 (f) = htons(((u_short)cp[1] << 8) | cp[2]); \
128 (f) = htons((u_short)*cp++); \
146 register u_short hle
[all...]
H A Dpap.h62 #define UPAP_HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short))
H A Dfsm.h64 #define HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short))
109 u_short protocol; /* Data Link Layer Protocol field value */
H A Dlcp.h111 u_short mru; /* Value of MRU */
113 u_short mrru; /* Value of MRRU, and multilink enable */
H A Dvj.h106 u_short cs_hlen; /* size of hdr (receive only) */
136 u_short flags;
/vbox/src/VBox/Devices/Network/slirp/libalias/
H A Dalias_util.c79 u_short
80 LibAliasInternetChecksum(struct libalias *la __unused, u_short * ptr,
104 u_short
107 return (LibAliasInternetChecksum(NULL, (u_short *) pip,
112 u_short
115 u_short *ptr;
124 ptr = (u_short *) tc;
140 ptr = (u_short *) & (pip->ip_dst);
143 ptr = (u_short *) & (pip->ip_src);
146 sum += htons((u_short) ntc
[all...]
H A Dalias_local.h157 u_short true_port; /* in host byte order. */
201 cksum = (u_short) ~acc; \
205 cksum = (u_short) acc; \
221 u_short IpChecksum(struct ip *_pip);
222 u_short TcpChecksum(struct ip *_pip);
225 DifferentialChecksum(u_short * _cksum, void * _new, void * _old, int _n);
230 u_short _id_alias, int _create);
233 u_short _id, int _create);
236 u_short _ip_id);
239 u_short _ip_i
[all...]
H A Dalias_nbt.c81 struct in_addr *, u_short);
85 struct in_addr *, u_short *, struct in_addr *, u_short *);
266 u_short oldport;
268 u_short newport;
269 u_short *uh_sum;
275 u_short id;
277 u_short source_port;
278 u_short len;
279 u_short offse
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/netatalk/
H A Dat.h57 u_short s_net;
61 #define ATADDR_ANYNET (u_short)0x0000
68 u_short nr_firstnet;
69 u_short nr_lastnet;
/vbox/src/VBox/Devices/Network/slirp/bsd/amd64/include/
H A Din_cksum.h79 u_short in_addword(u_short sum, u_short b);
80 u_short in_pseudo(u_int sum, u_int b, u_int c);
81 u_short in_cksum_skip(struct mbuf *m, int len, int skip);
/vbox/src/VBox/Devices/Network/slirp/bsd/i386/include/
H A Din_cksum.h95 static __inline u_short
96 in_addword(u_short sum, u_short b)
108 static __inline u_short
139 u_short in_addword(u_short sum, u_short b);
140 u_short in_pseudo(u_int sum, u_int b, u_int c);
142 u_short in_cksum_skip(struct mbuf *m, int len, int skip);
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/net/
H A Dif_dl.h64 u_short sdl_index; /* if != 0, system given index for interface */
H A Dif.h111 u_short ifm_msglen; /* to skip over non-understood messages */
116 u_short ifm_index; /* index for associated ifp */
125 u_short ifam_msglen; /* to skip over non-understood messages */
130 u_short ifam_index; /* index for associated ifp */
139 u_short ifmam_msglen; /* to skip over non-understood messages */
144 u_short ifmam_index; /* index for associated ifp */
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/netinet/
H A Dip.h76 u_short ip_len; /* total length */
77 u_short ip_id; /* identification */
78 u_short ip_off; /* fragment offset field */
85 u_short ip_sum; /* checksum */
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/netns/
H A Dns.h95 u_short s_host[3];
100 u_short s_net[2];
111 u_short x_port;
145 u_short ns_cksum();
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/msvcrt/sys/
H A Dtypes.h57 typedef unsigned short u_short; typedef
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/msvcrt/sys/
H A Dtypes.h57 typedef unsigned short u_short; typedef
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/
H A Dvj.c79 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 hle
[all...]
H A Dpap.h60 #define UPAP_HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short))
H A Dfsm.h60 #define HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short))
80 u_short protocol; /* Data Link Layer Protocol field value */
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Di82365.c62 u_short flags;
89 u_short type, flags;
92 u_short psock;
120 static u_char i365_get(u_short sock, u_short reg)
134 static void i365_set(u_short sock, u_short reg, u_char data)
146 void add_socket_i365(u_short port, int psock, int type) {
164 void i365_bset(u_short sock, u_short re
[all...]
/vbox/src/VBox/Devices/Network/slirp/bsd/i386/
H A Din_cksum.c185 u_short
186 in_addword(u_short a, u_short b)
194 u_short
206 u_short
268 u_short
274 register u_short *w;
278 union { char c[2]; u_short s; } su;
284 w = (u_short *)(mtod(m, u_char *) + skip);
294 w = mtod(m, u_short *);
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/
H A Dpcmcia.h7 typedef unsigned short u_short; typedef
11 typedef u_short ioaddr_t;
133 u_short speed;
141 u_short speed;
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Din6addr.h40 WS(u_short) Word[8];

Completed in 87 milliseconds

123