Searched refs:u_char (Results 1 - 25 of 199) sorted by relevance

12345678

/xnu-2422.115.4/bsd/crypto/rc4/
H A Drc4.h44 u_char perm[256];
45 u_char index1;
46 u_char index2;
49 extern void rc4_init(struct rc4_state *state, const u_char *key, int keylen);
51 const u_char *inbuf, u_char *outbuf, int buflen);
H A Drc4.c44 swap_bytes(u_char *a, u_char *b)
46 u_char temp;
58 rc4_init(struct rc4_state *const state, const u_char *key, int keylen)
60 u_char j;
65 state->perm[i] = (u_char)i;
84 const u_char *inbuf, u_char *outbuf, int buflen)
87 u_char j;
/xnu-2422.115.4/bsd/netinet/
H A Dbootp.h47 u_char bp_op; /* packet opcode type */
50 u_char bp_htype; /* hardware addr type */
51 u_char bp_hlen; /* hardware addr length */
52 u_char bp_hops; /* gateway hops */
60 u_char bp_chaddr[16]; /* client hardware address */
61 u_char bp_sname[64]; /* server host name */
62 u_char bp_file[128]; /* boot file name */
63 u_char bp_vend[64]; /* vendor-specific area */
76 u_char v_magic[4]; /* magic number */
78 u_char v_unuse
[all...]
H A Dif_ether.h81 /* u_char enaddr[ETHER_ADDR_LEN]; */ \
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]; \
97 /* u_char enaddr[ETHER_ADDR_LEN]; */ \
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_sh
[all...]
H A Digmp.h87 u_char igmp_type; /* version & type of IGMP message */
88 u_char igmp_code; /* subtype for routing msgs */
97 u_char igmp_type; /* version & type of IGMP message */
98 u_char igmp_code; /* subtype for routing msgs */
102 u_char igmp_misc; /* reserved/suppress/robustness */
103 u_char igmp_qqi; /* querier's query interval */
115 u_char ig_type; /* record type */
116 u_char ig_datalen; /* length of auxiliary data */
127 u_char ir_type; /* IGMP_v3_HOST_MEMBERSHIP_REPORT */
128 u_char ir_rsv
[all...]
H A Dmptcp_opt.h44 extern int tcp_do_mptcp_options(struct tcpcb *, u_char *, struct tcphdr *,
46 extern unsigned mptcp_setup_syn_opts(struct socket *, int, u_char*, unsigned);
47 extern unsigned mptcp_setup_join_ack_opts(struct tcpcb *, u_char*, unsigned);
51 extern unsigned int mptcp_setup_opts(struct tcpcb *, int, u_char *,
H A Ddhcp.h44 u_char dp_op; /* packet opcode type */
45 u_char dp_htype; /* hardware addr type */
46 u_char dp_hlen; /* hardware addr length */
47 u_char dp_hops; /* gateway hops */
55 u_char dp_chaddr[16]; /* client hardware address */
56 u_char dp_sname[64]; /* server host name */
57 u_char dp_file[128]; /* boot file name */
58 u_char dp_options[0]; /* variable-length options field */
/xnu-2422.115.4/bsd/libkern/
H A Dscanc.c66 scanc(u_int size, u_char *cp, const u_char table[], int mask0)
68 u_char *end;
69 u_char mask;
H A Dskpc.c68 register u_char *cp, *end, mask;
71 cp = (u_char *)cp0;
/xnu-2422.115.4/bsd/net/
H A Dif_dl.h90 u_char sdl_len; /* Total length of sockaddr */
91 u_char sdl_family; /* AF_LINK */
93 u_char sdl_type; /* interface type */
94 u_char sdl_nlen; /* interface name length, no trailing 0 reqd. */
95 u_char sdl_alen; /* link level address length */
96 u_char sdl_slen; /* link layer selector length */
108 #define CONST_LLADDR(s) ((const u_char*)((s)->sdl_data + (s)->sdl_nlen))
H A Dfirewire.h75 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 Dlacp.h62 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_stat
[all...]
H A Dif_vlan_var.h64 u_char evl_dhost[ETHER_ADDR_LEN];
65 u_char evl_shost[ETHER_ADDR_LEN];
H A Dif_arp.h88 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 Dbpfdesc.h110 u_char bd_promisc; /* true if listening promiscuously */
111 u_char bd_state; /* idle, waiting, or timed out */
112 u_char bd_immediate; /* true to return on packet arrival */
122 u_char bd_selcoll; /* true if selects collide */
126 u_char bd_pad; /* explicit alignment */
H A Dethernet.h86 u_char ether_dhost[ETHER_ADDR_LEN];
87 u_char ether_shost[ETHER_ADDR_LEN];
95 u_char octet[ETHER_ADDR_LEN];
130 extern u_char etherbroadcastaddr[ETHER_ADDR_LEN];
H A Dppp_defs.h67 #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])
/xnu-2422.115.4/bsd/netinet6/
H A Dpim6.h47 u_char pim_type:4, /* the PIM message type, currently they are:
54 u_char pim_ver:4, /* PIM version */
57 u_char pim_rsv; /* Reserved */
H A Desp6.h70 extern int esp6_output(struct mbuf *, u_char *, struct mbuf *,
H A Dipcomp6.h44 extern int ipcomp6_output(struct mbuf *, u_char *, struct mbuf *,
H A Dip6_fw.h134 u_char fw_ip6opt,fw_ip6nopt; /* IPv6 options set/unset */
135 u_char fw_tcpf,fw_tcpnf; /* TCP flags set/unset */
145 u_char fw_prot; /* IPv6 protocol */
146 u_char fw_nports; /* N'of src ports and # of dst ports */
168 u_char fw_ip6opt,fw_ip6nopt; /* IPv6 options set/unset */
169 u_char fw_tcpf,fw_tcpnf; /* TCP flags set/unset */
179 u_char fw_prot; /* IPv6 protocol */
180 u_char fw_nports; /* N'of src ports and # of dst ports */
201 u_char fw_ip6opt,fw_ip6nopt; /* IPv6 options set/unset */
202 u_char fw_tcp
[all...]
/xnu-2422.115.4/osfmk/kdp/
H A Dkdp_udp.h44 u_char ether_addr_octet[ETHER_ADDR_LEN];
53 u_char ether_dhost[ETHER_ADDR_LEN];
54 u_char ether_shost[ETHER_ADDR_LEN];
/xnu-2422.115.4/libkern/net/
H A Dinet_pton.c34 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)
78 u_char tmp[NS_INADDRSZ], *tp;
127 inet_pton6(const char *src, u_char *dst)
133 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp;
172 *tp++ = (u_char) (val >> 8) & 0xff;
173 *tp++ = (u_char) val & 0xff;
189 *tp++ = (u_char) (val >> 8) & 0xff;
190 *tp++ = (u_char) va
[all...]
/xnu-2422.115.4/libkern/kxld/
H A Dkxld_uuid.h42 u_char uuid[16];
64 kxld_uuid_export_macho(const KXLDuuid *uuid, u_char *buf,
/xnu-2422.115.4/bsd/security/audit/
H A Daudit_bsm_token.c77 u_char *dptr = NULL;
83 GET_TOKEN_AREA(t, dptr, 2 * sizeof(u_char) + sizeof(u_int32_t) +
99 u_char *dptr = NULL;
105 GET_TOKEN_AREA(t, dptr, 2 * sizeof(u_char) + sizeof(u_int64_t) +
138 u_char *dptr = NULL;
142 GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 2 * sizeof(u_int16_t) +
181 u_char *dptr = NULL;
185 GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 2 * sizeof(u_int16_t) +
239 u_char *dptr = NULL;
270 GET_TOKEN_AREA(t, dptr, 4 * sizeof(u_char)
[all...]

Completed in 116 milliseconds

12345678