| /xnu-11417.121.6/bsd/netinet/ |
| H A D | bootp.h | 52 u_char bp_op; /* packet opcode type */ 55 u_char bp_htype; /* hardware addr type */ 56 u_char bp_hlen; /* hardware addr length */ 57 u_char bp_hops; /* gateway hops */ 65 u_char bp_chaddr[16]; /* client hardware address */ 66 u_char bp_sname[64]; /* server host name */ 67 u_char bp_file[128]; /* boot file name */ 68 u_char bp_vend[64]; /* vendor-specific area */ 81 u_char v_magic[4]; /* magic number */ 83 u_char v_unused[56]; /* currently unused */ [all …]
|
| H A D | if_ether.h | 86 (enaddr)[3] = ((const u_char *)ipaddr)[1] & 0x7f; \ 87 (enaddr)[4] = ((const u_char *)ipaddr)[2]; \ 88 (enaddr)[5] = ((const u_char *)ipaddr)[3]; \ 101 (enaddr)[2] = ((const u_char *)ip6addr)[12]; \ 102 (enaddr)[3] = ((const u_char *)ip6addr)[13]; \ 103 (enaddr)[4] = ((const u_char *)ip6addr)[14]; \ 104 (enaddr)[5] = ((const u_char *)ip6addr)[15]; \ 116 u_char arp_sha[ETHER_ADDR_LEN]; /* sender hardware address */ 117 u_char arp_spa[4]; /* sender protocol address */ 118 u_char arp_tha[ETHER_ADDR_LEN]; /* target hardware address */ [all …]
|
| H A D | igmp.h | 90 u_char igmp_type; /* version & type of IGMP message */ 91 u_char igmp_code; /* subtype for routing msgs */ 100 u_char igmp_type; /* version & type of IGMP message */ 101 u_char igmp_code; /* subtype for routing msgs */ 105 u_char igmp_misc; /* reserved/suppress/robustness */ 106 u_char igmp_qqi; /* querier's query interval */ 119 u_char ig_type; /* record type */ 120 u_char ig_datalen; /* length of auxiliary data */ 131 u_char ir_type; /* IGMP_v3_HOST_MEMBERSHIP_REPORT */ 132 u_char ir_rsv1; /* must be zero */
|
| H A D | mptcp_opt.h | 41 extern void tcp_do_mptcp_options(struct tcpcb *, u_char * opt __ended_by(optend), u_char *optend, s… 43 extern unsigned mptcp_setup_syn_opts(struct socket *, u_char* __ended_by(optend), u_char *optend, u… 44 extern unsigned mptcp_setup_join_ack_opts(struct tcpcb *, u_char* __ended_by(optend), u_char *opten… 45 …gned int mptcp_setup_opts(struct tcpcb *tp, int32_t off, u_char *opt __ended_by(optend), u_char *o…
|
| H A D | dhcp.h | 43 u_char dp_op; /* packet opcode type */ 44 u_char dp_htype; /* hardware addr type */ 45 u_char dp_hlen; /* hardware addr length */ 46 u_char dp_hops; /* gateway hops */ 54 u_char dp_chaddr[16];/* client hardware address */ 55 u_char dp_sname[64];/* server host name */ 56 u_char dp_file[128];/* boot file name */ 57 u_char dp_options[0];/* variable-length options field */
|
| H A D | ip.h | 92 u_char ip_vhl; /* version << 4 | header length >> 2 */ 103 u_char ip_tos; /* type of service */ 111 u_char ip_ttl; /* time to live */ 112 u_char ip_p; /* protocol */ 209 u_char ipt_code; /* IPOPT_TS */ 210 u_char ipt_len; /* size of structure (variable) */ 211 u_char ipt_ptr; /* index of current entry */
|
| H A D | in_pcb.h | 188 u_char inp_sndinprog_cnt; /* outstanding send operations */ 189 u_char inp_vflag; /* INP_IPV4 or INP_IPV6 */ 191 u_char inp_ip_ttl; /* time to live proto */ 192 u_char inp_ip_p; /* protocol proto */ 216 u_char inp4_ip_tos; 263 u_char *__sized_by(inp_keepalive_datalen) inp_keepalive_data; /* for keepalive offload */ 363 u_char nat_owner; /* Used to NAT TCP/UDP traffic */ 371 u_char inp_vflag; 373 u_char inp_ip_ttl; /* time to live proto */ 374 u_char inp_ip_p; /* protocol proto */ [all …]
|
| H A D | mptcp_opt.c | 58 static int mptcp_validate_join_hmac(struct tcpcb *, u_char* __sized_by(maclen), int maclen); 59 static int mptcp_snd_mpprio(struct tcpcb *tp, u_char *cp __ended_by(optend), u_char *optend, int op… 61 static int mptcp_echo_add_addr(struct tcpcb *, u_char * __ended_by(optend), u_char *optend, unsigne… 68 mptcp_setup_first_subflow_syn_opts(struct socket *so, u_char *opt __ended_by(optend), u_char *opten… in mptcp_setup_first_subflow_syn_opts() 120 mptcp_setup_join_subflow_syn_opts(struct socket *so, u_char *opt __ended_by(optend), u_char *optend… in mptcp_setup_join_subflow_syn_opts() 164 mptcp_setup_join_ack_opts(struct tcpcb *tp, u_char *opt __ended_by(optend), u_char *optend __unused… in mptcp_setup_join_ack_opts() 179 (u_char*)&join_rsp2.mmjo_mac, HMAC_TRUNCATED_ACK); in mptcp_setup_join_ack_opts() 186 mptcp_setup_syn_opts(struct socket *so, u_char *opt __ended_by(optend), u_char *optend, unsigned op… in mptcp_setup_syn_opts() 200 mptcp_send_mpfail(struct tcpcb *tp, u_char *opt __ended_by(optend), u_char *optend, unsigned int op… in mptcp_send_mpfail() 235 mptcp_send_infinite_mapping(struct tcpcb *tp, u_char *opt __ended_by(optend), u_char *optend __unus… in mptcp_send_infinite_mapping() [all …]
|
| /xnu-11417.121.6/bsd/net/ |
| H A D | lacp.h | 62 typedef u_char lacp_actor_partner_state; 67 u_char system_id[6]; 74 u_char lap_tlv_type; /* 0x01 or 0x02 */ 75 u_char lap_length; /* 20 */ 76 u_char lap_system_priority[2]; 77 u_char lap_system[6]; 78 u_char lap_key[2]; 79 u_char lap_port_priority[2]; 80 u_char lap_port[2]; 81 u_char lap_state; [all …]
|
| H A D | if_var.h | 171 u_char ifi_type; /* ethernet, tokenring, etc */ 172 u_char ifi_typelen; /* Length of frame type id */ 173 u_char ifi_physical; /* e.g., AUI, Thinnet, 10base-T, etc */ 174 u_char ifi_addrlen; /* media address length */ 175 u_char ifi_hdrlen; /* media header length */ 176 u_char ifi_recvquota; /* polling quota for receive intrs */ 177 u_char ifi_xmitquota; /* polling quota for xmit intrs */ 178 u_char ifi_unused1; /* for future use */ 209 u_char ifi_type; /* ethernet, tokenring, etc */ 210 u_char ifi_typelen; /* Length of frame type id */ [all …]
|
| H A D | if_dl.h | 97 u_char sdl_len; /* Total length of sockaddr */ 98 u_char sdl_family; /* AF_LINK */ 100 u_char sdl_type; /* interface type */ 101 u_char sdl_nlen; /* interface name length, no trailing 0 reqd. */ 102 u_char sdl_alen; /* link level address length */ 103 u_char sdl_slen; /* link layer selector length */ 116 #define CONST_LLADDR(s) ((const u_char*)(s) + __offsetof(struct sockaddr_dl, sdl_data) + (s)->sdl_n…
|
| H A D | firewire.h | 75 u_char firewire_dhost[FIREWIRE_EUI64_LEN]; 76 u_char firewire_shost[FIREWIRE_EUI64_LEN]; 84 u_char octet[FIREWIRE_EUI64_LEN]; 91 u_char eui64[FIREWIRE_EUI64_LEN]; 92 u_char maxRec; 93 u_char spd;
|
| H A D | if_arp.h | 88 u_char ar_hln; /* length of hardware address */ 89 u_char ar_pln; /* length of protocol address */ 102 u_char ar_sha[]; /* sender hardware address */ 103 u_char ar_spa[]; /* sender protocol address */ 104 u_char ar_tha[]; /* target hardware address */ 105 u_char ar_tpa[]; /* target protocol address */
|
| H A D | bpf_filter.c | 87 get_word_from_buffers(u_char *__indexable cp, u_char *__indexable np, size_t num_from_cp) in get_word_from_buffers() 115 static u_char *__indexable 120 u_char *cp; in m_hdr_offset() 138 cp = mtod(m, u_char *) + k; in m_hdr_offset() 147 cp = (u_char *)hdr + k; in m_hdr_offset() 157 u_char *cp, *np; in m_xword() 171 np = mtod(m, u_char *); in m_xword() 183 u_char *cp; in m_xhalf() 197 return (uint16_t)((cp[0] << 8) | mtod(m, u_char *)[0]); in m_xhalf() 207 u_char *cp; in m_xbyte() [all …]
|
| H A D | bpf.h | 114 ((u_int16_t)*((u_char *)p+0)<<8|\ 115 (u_int16_t)*((u_char *)p+1)<<0)) 117 ((u_int32_t)*((u_char *)p+0)<<24|\ 118 (u_int32_t)*((u_char *)p+1)<<16|\ 119 (u_int32_t)*((u_char *)p+2)<<8|\ 120 (u_int32_t)*((u_char *)p+3)<<0) 313 u_char bh_complen; 314 u_char bh_flags; 323 u_char bh_pktflags; 402 u_char bh_complen; /* data portion compressed */ [all …]
|
| H A D | ppp_defs.h | 67 #define PPP_ADDRESS(p) (((u_char *)(p))[0]) 68 #define PPP_CONTROL(p) (((u_char *)(p))[1]) 69 #define PPP_PROTOCOL(p) ((((u_char *)(p))[2] << 8) + ((u_char *)(p))[3])
|
| H A D | ethernet.h | 92 u_char ether_dhost[ETHER_ADDR_LEN]; 93 u_char ether_shost[ETHER_ADDR_LEN]; 101 u_char octet[ETHER_ADDR_LEN]; 138 extern u_char etherbroadcastaddr[ETHER_ADDR_LEN];
|
| /xnu-11417.121.6/bsd/security/audit/ |
| H A D | audit_bsm_token.c | 77 u_char *dptr = NULL; in au_to_arg32() 84 tokenlen = 2 * sizeof(u_char) + sizeof(u_int32_t) + sizeof(u_int16_t) + textlen; in au_to_arg32() 103 u_char *dptr = NULL; in au_to_arg64() 110 tokenlen = 2 * sizeof(u_char) + sizeof(u_int64_t) + sizeof(u_int16_t) + textlen; in au_to_arg64() 145 u_char *dptr = NULL; in au_to_attr32() 149 GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 2 * sizeof(u_int16_t) + in au_to_attr32() 189 u_char *dptr = NULL; in au_to_attr64() 193 GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 2 * sizeof(u_int16_t) + in au_to_attr64() 247 u_char *dptr = NULL; in au_to_data() 278 tokenlen = 4 * sizeof(u_char) + totdata; in au_to_data() [all …]
|
| /xnu-11417.121.6/libkern/net/ |
| H A D | inet_pton.c | 34 static int inet_pton4(const char *src, u_char *dst); 35 static int inet_pton6(const char *src, u_char *dst); 73 inet_pton4(const char *src, u_char *dst) in inet_pton4() 78 u_char tmp[NS_INADDRSZ], *tp; in inet_pton4() 95 *tp = (u_char)new; in inet_pton4() 133 inet_pton6(const char *src, u_char *dst) in inet_pton6() 139 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() 184 *tp++ = (u_char) (val >> 8) & 0xff; in inet_pton6() 185 *tp++ = (u_char) val & 0xff; in inet_pton6() 202 *tp++ = (u_char) (val >> 8) & 0xff; in inet_pton6() [all …]
|
| /xnu-11417.121.6/bsd/kern/ |
| H A D | tty_subr.c | 118 clp->c_cq = (u_char *)0; in clalloc() 121 clp->c_cf = clp->c_cl = (u_char *)0; in clalloc() 137 clp->c_cs = clp->c_cq = (u_char *)0; in clfree() 169 clp->c_cf = clp->c_cl = (u_char *)0; in getc() 180 q_to_b(struct clist *clp, u_char *cp, int count) in q_to_b() 183 u_char *p = cp; in q_to_b() 204 clp->c_cf = clp->c_cl = (u_char *)0; in q_to_b() 269 clp->c_cf = clp->c_cl = (u_char *)0; in ndflush() 289 clp->c_cf = clp->c_cl = (u_char *)0; in ndflush() 350 clrbits(u_char *cp, int off, int len) in clrbits() [all …]
|
| /xnu-11417.121.6/bsd/libkern/ |
| H A D | scanc.c | 66 scanc(size_t size, u_char *cp, const u_char table[], u_char mask0) in scanc() 68 u_char *end; in scanc() 69 u_char mask; in scanc()
|
| /xnu-11417.121.6/bsd/sys/ |
| H A D | tty.h | 97 u_char *c_cf; /* points to first character */ 98 u_char *c_cl; /* points to next open character */ 99 u_char *c_cs; /* start of ring buffer */ 100 u_char *c_ce; /* c_ce + c_len */ 101 u_char *c_cq; /* N bits/bytes long, see tty_subr.c */ 277 int b_to_q(const u_char *cp, int cc, struct clist *q); 283 u_char *firstc(struct clist *clp, int *c); 284 u_char *nextc(struct clist *q, u_char *cp, int *c); 286 int q_to_b(struct clist *q, u_char *cp, int cc); 291 void clrbits(u_char *cp, int off, int len);
|
| /xnu-11417.121.6/bsd/netinet6/ |
| H A D | in6_var.h | 490 u_char onlink : 1; 491 u_char autonomous : 1; 492 u_char reserved : 6; 494 u_char prf_reserved1; 498 u_char decrvalid : 1; 499 u_char decrprefd : 1; 500 u_char reserved : 6; 502 u_char prf_reserved3; 508 u_char ipr_origin; 509 u_char ipr_plen; [all …]
|
| H A D | nd6.h | 261 u_char flags; 262 u_char stateflags; 271 u_char flags; 272 u_char stateflags; 280 u_char flags; 281 u_char stateflags; 291 u_char prefixlen; 292 u_char origin; 307 u_char prefixlen; 308 u_char origin; [all …]
|
| /xnu-11417.121.6/libkern/kxld/ |
| H A D | kxld_reloc.h | 55 u_char *instruction, u_int length, u_int pcrel, kxld_addr_t base_pc, 68 u_char *file; 90 kern_return_t kxld_relocator_init(KXLDRelocator *relocator, u_char *file, 117 const u_char *data, u_long offset) 121 const KXLDReloc *reloc, const u_char *data) 142 u_char *buf, u_long *header_offset, u_long header_size,
|