Searched refs:u_char (Results 51 - 75 of 278) sorted by relevance

1234567891011>>

/haiku-fatelf/src/kits/network/libbind/include/
H A Dres_update.h42 u_char * r_data; /*%< rdata fields as text string */
60 int res_mkupdate __P((ns_updrec *, u_char *, int));
64 int res_nmkupdate __P((res_state, ns_updrec *, u_char *, int));
/haiku-fatelf/src/bin/network/tcpdump/libpcap/Win32/Include/
H A Dinetprivate.h52 extern void putlong(u_long l, u_char *msgp);
53 extern void putshort(u_short l, u_char *msgp);
54 extern u_int32_t _getlong(register const u_char *msgp);
55 extern u_int16_t _getshort(register const u_char *msgp);
/haiku-fatelf/src/bin/network/tcpdump/
H A Dprint-ah.c44 ah_print(register const u_char *bp)
47 register const u_char *ep;
H A Dprint-dhcp6.c292 dhcp6opt_print(const u_char *cp, const u_char *ep)
295 u_char *tp;
326 tp = (u_char *)(dh6o + 1);
377 tp = (u_char *)(dh6o + 1);
391 printf(" %d)", *((u_char *)(dh6o + 1) + 1));
404 dhcp6_print((const u_char *)(dh6o + 1), optlen);
442 tp = (u_char *)&authopt.dh6opt_auth_rdinfo;
448 tp = (u_char *)dh6o + sizeof(authopt);
507 printf("%02x", ((u_char *)(dh6
[all...]
H A Dprint-ipfc.c66 register u_int length, register const u_char *ipfcsrc,
67 register const u_char *ipfcdst)
81 ipfc_print(const u_char *p, u_int length, u_int caplen)
130 ipfc_if_print(const struct pcap_pkthdr *h, register const u_char *p)
H A Dprint-raw.c45 raw_if_print(const struct pcap_pkthdr *h, const u_char *p)
H A Dprint-rt6.c44 rt6_print(register const u_char *bp, const u_char *bp2 _U_)
48 register const u_char *ep;
86 if ((u_char *)(addr + 1) > ep)
H A Dprint-symantec.c48 symantec_hdr_print(register const u_char *bp, u_int length)
80 symantec_if_print(const struct pcap_pkthdr *h, const u_char *p)
106 symantec_hdr_print((u_char *)sp, length + sizeof (struct symantec_header));
114 symantec_hdr_print((u_char *)sp, length + sizeof (struct symantec_header));
H A Dprint-timed.c47 timed_print(register const u_char *bp)
49 #define endof(x) ((u_char *)&(x) + sizeof (x))
52 const u_char *end;
104 end = memchr(tsp->tsp_name, '\0', snapend - (u_char *)tsp->tsp_name);
109 fwrite(tsp->tsp_name, end - (u_char *)tsp->tsp_name, 1, stdout);
H A Dprint-wb.c55 ((struct dophdr *)((u_char *)(d) + \
66 u_char ph_type; /* message type */
67 u_char ph_flags; /* message flags */
95 u_char dh_flags;
96 u_char dh_type; /* body type */
192 if (len < sizeof(*id) || (u_char *)(id + 1) > snapend)
208 if ((u_char *)cp + len <= snapend) {
210 (void)fn_print((u_char *)cp, (u_char *)cp + len);
215 for (i = 0; i < nid && (u_char *)(i
[all...]
H A Dprint-ip.c60 ip_printroute(register const u_char *cp, u_int length)
94 const u_char *cp;
97 cp = (const u_char *)(ip + 1);
132 ip_printts(register const u_char *cp, u_int length)
197 ip_optprint(register const u_char *cp, u_int length)
293 sum += htons(*(u_char *)w<<8);
367 const u_char *cp;
369 u_char nh;
395 (const u_char *)ipds->ip,
418 sctp_print(ipds->cp, (const u_char *)ipd
[all...]
H A Dprint-smb.c30 const u_char *startbuf = NULL;
37 void (*fn)(const u_char *, const u_char *, const u_char *, const u_char *);
45 void (*fn)(const u_char *, const u_char *, int, int);
93 trans2_findfirst(const u_char *param, const u_char *data, int pcnt, int dcnt)
110 trans2_qfsinfo(const u_char *para
[all...]
H A Dprint-arcnet.c40 static int arcnet_encap_print(u_char arctype, const u_char *p,
58 arcnet_print(const u_char *bp, u_int length, int phds, int flag, u_int seqid)
110 arcnet_if_print(const struct pcap_pkthdr *h, const u_char *p)
118 u_char arc_type;
198 arcnet_linux_if_print(const struct pcap_pkthdr *h, const u_char *p)
205 u_char arc_type;
255 arcnet_encap_print(u_char arctype, const u_char *p,
H A Dprint-icmp6.c51 static void print_lladdr(const u_char *, size_t);
52 static void icmp6_opt_print(const u_char *, int);
53 static void mld6_print(const u_char *);
54 static void mldv2_report_print(const u_char *, u_int);
55 static void mldv2_query_print(const u_char *, u_int);
56 static struct udphdr *get_upperlayer(u_char *, u_int *);
57 static void dnsname_print(const u_char *, const u_char *);
58 static void icmp6_nodeinfo_print(u_int, const u_char *, const u_char *);
[all...]
H A Dprint-gre.c85 void gre_print_0(const u_char *, u_int);
86 void gre_print_1(const u_char *, u_int);
87 void gre_sre_print(u_int16_t, u_int8_t, u_int8_t, const u_char *, u_int);
88 void gre_sre_ip_print(u_int8_t, u_int8_t, const u_char *, u_int);
89 void gre_sre_asn_print(u_int8_t, u_int8_t, const u_char *, u_int);
92 gre_print(const u_char *bp, u_int length)
119 gre_print_0(const u_char *bp, u_int length)
238 gre_print_1(const u_char *bp, u_int length)
319 const u_char *bp, u_int len)
337 gre_sre_ip_print(u_int8_t sreoff, u_int8_t srelen, const u_char *b
[all...]
/haiku-fatelf/src/bin/network/tcpdump/win32/Include/
H A Dinetprivate.h25 extern void putlong(u_long l, u_char *msgp);
26 extern void putshort(u_short l, u_char *msgp);
27 extern u_int32_t _getlong(register const u_char *msgp);
28 extern u_int16_t _getshort(register const u_char *msgp);
/haiku-fatelf/src/kits/network/libbind/isc/
H A Dbitncmp.c54 lb = ((const u_char *)l)[b];
55 rb = ((const u_char *)r)[b];
/haiku-fatelf/src/kits/network/libbind/dst/
H A Dsupport.c70 * Given a binary number represented in a u_char[], determine
80 dst_s_calculate_bits(const u_char *str, const int max_bits)
82 const u_char *p = str;
83 u_char i, j = 0x80;
98 dst_s_id_calc(const u_char *key, const int keysize)
101 const u_char *kp = key;
127 dst_s_dns_key_id(const u_char *dns_key_rdata, const int rdata_len)
134 return dst_s_get_int16((const u_char *)
156 dst_s_get_int16(const u_char *buf)
175 dst_s_get_int32(const u_char *bu
[all...]
/haiku-fatelf/src/bin/network/tcpdump/libpcap/
H A Dpcap.h44 #include <sys/socket.h> /* u_int, u_char etc. */
216 typedef void (*pcap_handler)(u_char *, const struct pcap_pkthdr *,
217 const u_char *);
226 int pcap_loop(pcap_t *, int, pcap_handler, u_char *);
227 int pcap_dispatch(pcap_t *, int, pcap_handler, u_char *);
228 const u_char*
230 int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **);
239 int pcap_sendpacket(pcap_t *, const u_char *, int);
268 void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *);
[all...]
H A Dpcap1.h212 typedef void (*pcap_handler)(u_char *, const struct pcap_pkthdr *,
213 const u_char *);
221 int pcap_loop(pcap_t *, int, pcap_handler, u_char *);
222 int pcap_dispatch(pcap_t *, int, pcap_handler, u_char *);
223 const u_char*
225 int pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const u_char **);
257 void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *);
266 u_int bpf_filter(struct bpf_insn *, u_char *, u_int, u_int);
278 int pcap_sendpacket(pcap_t *p, u_char *bu
[all...]
H A Dpcap-int.h70 u_char *base;
96 u_char *dag_mem_bottom; /* DAG card current memory bottom pointer */
97 u_char *dag_mem_top; /* DAG card current memory top pointer */
154 u_char *buffer;
155 u_char *bp;
161 u_char *pkt;
169 int (*read_op)(pcap_t *, int cnt, pcap_handler, u_char *);
264 int pcap_offline_read(pcap_t *, int, pcap_handler, u_char *);
265 int pcap_read(pcap_t *, int cnt, pcap_handler, u_char *);
/haiku-fatelf/src/kits/network/libbind/inet/
H A Dinet_pton.c38 static int inet_pton4 __P((const char *src, u_char *dst));
39 static int inet_pton6 __P((const char *src, u_char *dst));
83 u_char *dst;
87 u_char tmp[NS_INADDRSZ], *tp;
138 u_char *dst;
142 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp;
181 *tp++ = (u_char) (val >> 8) & 0xff;
182 *tp++ = (u_char) val & 0xff;
198 *tp++ = (u_char) (val >> 8) & 0xff;
199 *tp++ = (u_char) va
[all...]
/haiku-fatelf/src/kits/network/libbind/nameser/
H A Dns_newmsg.c27 static int rdcpy(ns_newmsg *, ns_type, const u_char *, size_t);
32 ns_newmsg_init(u_char *buffer, size_t bufsiz, ns_newmsg *handle) {
117 u_char *t;
124 t = (u_char *) (unsigned long) msg->_msg_ptr;
149 u_int16_t rdlen, const u_char *rdata)
152 u_char *t;
159 t = (u_char *) (unsigned long) msg->_msg_ptr;
191 u_char *t;
193 t = (u_char *) (unsigned long) msg->_msg;
210 rdcpy(ns_newmsg *handle, ns_type type, const u_char *rdat
[all...]
H A Dns_sign.c78 ns_sign(u_char *msg, int *msglen, int msgsize, int error, void *k,
79 const u_char *querysig, int querysiglen, u_char *sig, int *siglen,
88 ns_sign2(u_char *msg, int *msglen, int msgsize, int error, void *k,
89 const u_char *querysig, int querysiglen, u_char *sig, int *siglen,
90 time_t in_timesigned, u_char **dnptrs, u_char **lastdnptr)
94 u_char *cp, *eob;
95 u_char *len
[all...]
/haiku-fatelf/src/kits/network/libbind/resolv/
H A Dres_data.c129 p_query(const u_char *msg) {
134 fp_query(const u_char *msg, FILE *file) {
139 fp_nquery(const u_char *msg, int len, FILE *file) {
150 const u_char *data, /*!< resource record data */
152 const u_char *newrr_in, /*!< new rr for modify or append */
153 u_char *buf, /*!< buffer to put query */
166 res_mkupdate(ns_updrec *rrecp_in, u_char *buf, int buflen) {
178 u_char *answer, /*!< buffer to put answer */
204 res_send(const u_char *buf, int buflen, u_char *an
[all...]

Completed in 205 milliseconds

1234567891011>>