Searched refs:uint16_t (Results 1 - 25 of 140) sorted by relevance

123456

/xnu-2782.1.97/bsd/net/
H A Dnetsrc.h58 uint16_t nrp_flags;
59 uint16_t nrp_label;
60 uint16_t nrp_precedence;
61 uint16_t nrp_dstlabel;
62 uint16_t nrp_dstprecedence;
H A Dbridgestp.h236 uint16_t cbu_protoid; /* protocol id */
242 uint16_t cbu_rootpri; /* root priority */
248 uint16_t cbu_bridgepri; /* bridge priority */
251 uint16_t cbu_portid; /* port id */
252 uint16_t cbu_messageage; /* current message age */
253 uint16_t cbu_maxage; /* maximum age */
254 uint16_t cbu_hellotime; /* hello time */
255 uint16_t cbu_forwarddelay; /* forwarding delay */
266 uint16_t tbu_protoid; /* protocol id */
294 uint16_t pv_dport_i
[all...]
H A Dif_bridgevar.h275 uint16_t ifba_vlan; /* vlan id */
285 uint16_t ifba_vlan; /* vlan id */
293 uint16_t ifba_vlan; /* vlan id */
356 uint16_t ifbrpu_int16;
389 uint16_t ifbop_priority;
390 uint16_t ifbop_root_port;
406 uint16_t ifbop_priority;
407 uint16_t ifbop_root_port;
421 uint16_t ifbop_priority;
422 uint16_t ifbop_root_por
[all...]
/xnu-2782.1.97/bsd/netinet/
H A Din_cksum.c87 uint16_t s[2];
92 uint16_t s[4];
99 static uint16_t in_cksumdata(const void *buf, int len);
115 static uint16_t
145 partial += *(uint16_t *)(void *)data;
146 partial += *(uint16_t *)(void *)(data + 2);
147 partial += *(uint16_t *)(void *)(data + 4);
148 partial += *(uint16_t *)(void *)(data + 6);
149 partial += *(uint16_t *)(void *)(data + 8);
150 partial += *(uint16_t *)(voi
[all...]
H A Dmptcp_opt.h55 uint16_t);
57 struct tcpcb *, uint16_t);
59 struct tcpcb *, uint16_t);
61 u_int64_t, u_int32_t, u_int16_t, uint16_t);
H A Dcpu_in_cksum.c155 partial += *(uint16_t *)(void *)data;
156 partial += *(uint16_t *)(void *)(data + 2);
157 partial += *(uint16_t *)(void *)(data + 4);
158 partial += *(uint16_t *)(void *)(data + 6);
159 partial += *(uint16_t *)(void *)(data + 8);
160 partial += *(uint16_t *)(void *)(data + 10);
161 partial += *(uint16_t *)(void *)(data + 12);
162 partial += *(uint16_t *)(void *)(data + 14);
163 partial += *(uint16_t *)(void *)(data + 16);
164 partial += *(uint16_t *)(voi
[all...]
H A Dip_id.c120 static uint16_t *id_array = NULL;
158 id_array = (uint16_t *)_MALLOC(ARRAY_SIZE * sizeof (uint16_t),
175 uint16_t
178 uint16_t new_id;
H A Din_var.h254 uint16_t ex; /* # of exclusive members */
255 uint16_t in; /* # of inclusive members */
332 uint16_t inm_sctimer; /* state-change timer */
333 uint16_t inm_scrv; /* state-change rexmit count */
343 uint16_t iss_fmode; /* IGMP filter mode */
344 uint16_t iss_asm; /* # of ASM listeners */
345 uint16_t iss_ex; /* # of exclusive members */
346 uint16_t iss_in; /* # of inclusive members */
347 uint16_t iss_rec; /* # of recorded sources */
/xnu-2782.1.97/osfmk/i386/
H A Dmp_desc.h112 valid_user_data_selector(uint16_t selector);
115 valid_user_code_selector(uint16_t selector);
118 valid_user_stack_selector(uint16_t selector);
121 valid_user_segment_selectors(uint16_t cs,
122 uint16_t ss,
123 uint16_t ds,
124 uint16_t es,
125 uint16_t fs,
126 uint16_t gs);
H A Dtss.h95 uint16_t trace_trap; /* trap on switch to this task */
96 uint16_t io_bit_map_offset;
130 uint16_t reserved6;
131 uint16_t io_bit_map_offset;
H A Dproc_reg.h189 static inline uint16_t get_es(void)
191 uint16_t es;
196 static inline void set_es(uint16_t es)
201 static inline uint16_t get_ds(void)
203 uint16_t ds;
208 static inline void set_ds(uint16_t ds)
213 static inline uint16_t get_fs(void)
215 uint16_t fs;
220 static inline void set_fs(uint16_t fs)
225 static inline uint16_t get_g
[all...]
H A Dmp_desc.c306 uint16_t selector;
315 *((uint16_t*)desc) = offset & 0xFFFF;
316 *((uint16_t*)(desc+2)) = selector;
319 *((uint16_t*)(desc+6)) = offset >> 16;
323 uint16_t limit;
327 limit = *((uint16_t*)(desc+4));
331 *((uint16_t*)(desc)) = limit;
332 *((uint16_t*)(desc+2)) = base & 0xFFFF;
367 real.gate.offset_low16 = (uint16_t)(fakep->offset64 & 0xFFFF);
371 real.gate.offset_high16 = (uint16_t)((fake
[all...]
/xnu-2782.1.97/libkern/libkern/machine/
H A DOSByteOrder.h47 uint16_t
49 uint16_t data
76 uint16_t
82 uint16_t data = *(volatile uint16_t *)((uintptr_t)base + byteOffset);
115 uint16_t data
118 *(volatile uint16_t *)((uintptr_t)base + byteOffset) = _OSSwapInt16(data);
/xnu-2782.1.97/libkern/libkern/i386/
H A DOSByteOrder.h39 uint16_t
45 uint16_t result;
47 result = *(volatile uint16_t *)((uintptr_t)base + byteOffset);
84 uint16_t data
87 *(volatile uint16_t *)((uintptr_t)base + byteOffset) = _OSSwapInt16(data);
/xnu-2782.1.97/osfmk/kdp/
H A Dkdp_internal.h189 uint16_t /* lcpu */);
193 uint16_t /* lcpu */);
196 kdp_machine_ioport_read(kdp_readioport_req_t *, caddr_t /* data */, uint16_t /* lcpu */);
199 kdp_machine_ioport_write(kdp_writeioport_req_t *, caddr_t /* data */, uint16_t /* lcpu */);
202 kdp_machine_msr64_read(kdp_readmsr64_req_t *, caddr_t /* data */, uint16_t /* lcpu */);
205 kdp_machine_msr64_write(kdp_writemsr64_req_t *, caddr_t /* data */, uint16_t /* lcpu */);
H A Dkdp_protocol.h206 uint16_t req_reply_port; /* udp port which to send replies */
207 uint16_t exc_note_port; /* udp port which to send exc notes */
232 uint16_t req_reply_port; /* udp port which to send replies */
341 uint16_t lcpu;
387 uint16_t lcpu;
401 uint16_t lcpu;
402 uint16_t address;
403 uint16_t nbytes;
417 uint16_t lcpu;
418 uint16_t addres
[all...]
/xnu-2782.1.97/bsd/netinet6/
H A Dmld6.h78 uint16_t mld_numsrc; /* number of sources */
104 uint16_t mr_numsrc; /* number of sources */
H A Din6_cksum.c141 uint16_t
145 const uint16_t *w;
150 w = (const uint16_t *)src;
160 w = (const uint16_t *)dst;
/xnu-2782.1.97/libkern/libkern/
H A DOSByteOrder.h88 uint16_t
94 return *(volatile uint16_t *)((uintptr_t)base + byteOffset);
124 uint16_t data
127 *(volatile uint16_t *)((uintptr_t)base + byteOffset) = data;
180 #define OSSwapHostToBigConstInt16(x) ((uint16_t)(x))
186 #define OSSwapHostToBigInt16(x) ((uint16_t)(x))
204 #define OSSwapBigToHostConstInt16(x) ((uint16_t)(x))
210 #define OSSwapBigToHostInt16(x) ((uint16_t)(x))
266 #define OSSwapHostToLittleConstInt16(x) ((uint16_t)(x))
272 #define OSSwapHostToLittleInt16(x) ((uint16_t)(
[all...]
/xnu-2782.1.97/pexpert/pexpert/i386/
H A Dboot.h135 uint16_t Revision; /* Revision of boot_args structure */
136 uint16_t Version; /* Version of boot_args structure */
140 uint16_t flags;
/xnu-2782.1.97/bsd/sys/
H A Dgmon.h148 uint16_t link;
149 uint16_t order;
155 uint16_t link;
156 uint16_t order;
H A Dsysent.h50 uint16_t sy_arg_bytes; /* Total size of arguments in bytes for
/xnu-2782.1.97/EXTERNAL_HEADERS/architecture/
H A Dbyte_order.h45 return (unsigned short)OSSwapInt16((uint16_t)inv);
161 return (unsigned short)OSSwapBigToHostInt16((uint16_t)x);
215 return (unsigned short)OSSwapHostToBigInt16((uint16_t)x);
269 return (unsigned short)OSSwapLittleToHostInt16((uint16_t)x);
323 return (unsigned short)OSSwapHostToLittleInt16((uint16_t)x);
/xnu-2782.1.97/bsd/dev/dtrace/scripts/
H A Dip.d41 uint16_t dport;
42 uint16_t sport;
66 uint16_t ip_plength; /* payload length */
121 uint16_t if_flags; /* flags: up/down, broadcast etc. */
123 uint16_t if_unit;
142 uint16_t ipv4_length; /* length (header + payload) */
143 uint16_t ipv4_ident; /* identification */
145 uint16_t ipv4_offset; /* fragment offset */
149 uint16_t ipv4_checksum; /* header checksum */
190 uint16_t ipv6_ple
[all...]
/xnu-2782.1.97/EXTERNAL_HEADERS/
H A Dstdint.h30 typedef u_int16_t uint16_t; /* u_int16_t is defined in <machine/types.h> */ typedef
41 typedef uint16_t uint_least16_t;
52 typedef uint16_t uint_fast16_t;

Completed in 104 milliseconds

123456