Lines Matching full:const
44 int snprintf (char *str, size_t sz, const char *format, ...)
49 int vsnprintf (char *str, size_t sz, const char *format, va_list ap)
54 extern size_t strlcat (char *, const char *, size_t);
57 extern size_t strlcpy (char *, const char *, size_t);
61 extern char *strdup (const char *str);
65 extern char *strsep(char **, const char *);
70 const char *s; /* string */
74 extern const char *tok2strbuf(const struct tok *, const char *, int,
78 extern const char *tok2str(const struct tok *, const char *, int);
79 extern char *bittok2str(const struct tok *, const char *, int);
112 const char *ndo_dltname;
132 const u_char *ndo_packetp;
133 const u_char *ndo_snapend;
140 register const u_char *bp, register u_int length);
144 const char *fmt, ...);
146 const char *fmt, ...);
148 const char *fmt, ...);
202 (const u_char *)&(var) <= ndo->ndo_snapend - (l))
218 const struct timeval *);
222 extern int fn_print(const u_char *, const u_char *);
223 extern int fn_printn(const u_char *, u_int, const u_char *);
224 extern const char *tok2str(const struct tok *, const char *, int);
234 extern void safeputs(const char *, int);
237 extern const char *isonsap_string(netdissect_options *, const u_char *);
238 extern const char *protoid_string(netdissect_options *, const u_char *);
239 extern const char *dnname_string(netdissect_options *, u_short);
240 extern const char *dnnum_string(netdissect_options *, u_short);
248 extern void eap_print(netdissect_options *,const u_char *, u_int);
250 register const u_char *bp, int len, register const u_char *bp2,
252 extern void arp_print(netdissect_options *,const u_char *, u_int, u_int);
253 extern void isakmp_print(netdissect_options *,const u_char *,
254 u_int, const u_char *);
255 extern void isakmp_rfc3948_print(netdissect_options *,const u_char *,
256 u_int, const u_char *);
257 extern void ip_print(netdissect_options *,const u_char *, u_int);
259 const u_char *bp, u_int length, u_int nh,
260 const u_char *bp2);
265 extern void hex_and_ascii_print_with_offset(netdissect_options *,const char *,
267 extern void hex_and_ascii_print(netdissect_options *,const char *, u_int);
268 extern void hex_print_with_offset(netdissect_options *,const char *,
270 extern void hex_print(netdissect_options *,const char *, u_int);
271 extern void telnet_print(netdissect_options *,const u_char *, u_int);
272 extern int ether_encap_print(netdissect_options *,u_short, const u_char *,
275 const u_char *, u_int, u_int, const u_char *,
276 const u_char *, u_short *);
277 extern void aarp_print(netdissect_options *,const u_char *, u_int);
278 extern void atalk_print(netdissect_options *,const u_char *, u_int);
279 extern void atm_if_print(u_char *,const struct pcap_pkthdr *, const u_char *);
280 extern void bootp_print(netdissect_options *,const u_char *,
282 extern void bgp_print(netdissect_options *,const u_char *, int);
283 extern void bxxp_print(netdissect_options *,const u_char *, u_int);
284 extern void chdlc_if_print(u_char *user, const struct pcap_pkthdr *h,
285 register const u_char *p);
287 register const u_char *p, u_int length, u_int caplen);
289 const u_char *, u_int);
290 extern void cnfp_print(netdissect_options *,const u_char *cp,
291 u_int len, const u_char *bp);
292 extern void decnet_print(netdissect_options *,const u_char *,
294 extern void default_print(netdissect_options *,const u_char *, u_int);
295 extern void dvmrp_print(netdissect_options *,const u_char *, u_int);
296 extern void egp_print(netdissect_options *,const u_char *, u_int,
297 const u_char *);
299 extern void arcnet_if_print(u_char*,const struct pcap_pkthdr *,const u_char *);
300 extern void ether_if_print(u_char *,const struct pcap_pkthdr *,const u_char *);
301 extern void token_if_print(u_char *,const struct pcap_pkthdr *,const u_char *);
302 extern void fddi_if_print(u_char *,const struct pcap_pkthdr *, const u_char *);
304 extern void gre_print(netdissect_options *,const u_char *, u_int);
305 extern void icmp_print(netdissect_options *,const u_char *, u_int,
306 const u_char *);
308 register const u_char *bp, register u_int len);
309 extern void ieee802_11_if_print(u_char *,const struct pcap_pkthdr *, const u_char *);
311 register const u_char *, u_int);
312 extern void igrp_print(netdissect_options *,const u_char *, u_int,
313 const u_char *);
314 extern void ipN_print(netdissect_options *,const u_char *, u_int);
315 extern void ipx_print(netdissect_options *,const u_char *, u_int);
316 extern void isoclns_print(netdissect_options *,const u_char *,
317 u_int, u_int, const u_char *, const u_char *);
318 extern void krb_print(netdissect_options *,const u_char *, u_int);
319 extern void llap_print(netdissect_options *,const u_char *, u_int);
320 extern const char *linkaddr_string(netdissect_options *ndo,
321 const u_char *ep, const unsigned int len);
323 u_char *user, const struct pcap_pkthdr *h,
324 const u_char *p);
326 const u_char *bp, u_int length);
328 const unsigned char *sp, u_int length);
329 extern void nfsreply_print(netdissect_options *,const u_char *,
330 u_int, const u_char *);
331 extern void nfsreq_print(netdissect_options *,const u_char *,
332 u_int, const u_char *);
333 extern void ns_print(netdissect_options *,const u_char *, u_int);
334 extern void ntp_print(netdissect_options *,const u_char *, u_int);
335 extern void null_if_print(u_char *,const struct pcap_pkthdr *, const u_char *);
336 extern void ospf_print(netdissect_options *,const u_char *,
337 u_int, const u_char *);
338 extern void pimv1_print(netdissect_options *,const u_char *, u_int);
339 extern void mobile_print(netdissect_options *,const u_char *, u_int);
340 extern void pim_print(netdissect_options *,const u_char *, u_int);
341 extern void pppoe_if_print(u_char *,const struct pcap_pkthdr *, const u_char *);
342 extern void pppoe_print(netdissect_options *,const u_char *, u_int);
344 register const u_char *, u_int);
346 extern void ppp_if_print(u_char *,const struct pcap_pkthdr *, const u_char *);
348 const struct pcap_pkthdr *, const u_char *);
350 const struct pcap_pkthdr *, const u_char *);
352 extern int vjc_print(netdissect_options *,register const char *,
356 const struct pcap_pkthdr *, const u_char *);
358 extern void rip_print(netdissect_options *,const u_char *, u_int);
361 const u_char *bp, const u_char *bp2,
364 extern void sl_if_print(u_char *,const struct pcap_pkthdr *, const u_char *);
366 extern void lane_if_print(u_char *,const struct pcap_pkthdr *,const u_char *);
367 extern void cip_if_print(u_char *,const struct pcap_pkthdr *,const u_char *);
369 const struct pcap_pkthdr *, const u_char *);
371 const struct pcap_pkthdr *, const u_char *);
373 extern void snmp_print(netdissect_options *,const u_char *, u_int);
374 extern void sunrpcrequest_print(netdissect_options *,const u_char *,
375 u_int, const u_char *);
376 extern void tcp_print(netdissect_options *,const u_char *, u_int,
377 const u_char *, int);
378 extern void tftp_print(netdissect_options *,const u_char *, u_int);
379 extern void timed_print(netdissect_options *,const u_char *, u_int);
380 extern void udp_print(netdissect_options *,const u_char *, u_int,
381 const u_char *, int);
382 extern void wb_print(netdissect_options *,const void *, u_int);
383 extern int ah_print(netdissect_options *,register const u_char *,
384 register const u_char *);
386 extern int ipcomp_print(netdissect_options *,register const u_char *,
387 register const u_char *, int *);
388 extern void rx_print(netdissect_options *,register const u_char *,
391 const u_char *, int);
392 extern void ipx_netbios_print(netdissect_options *,const u_char *, u_int);
393 extern void nbt_tcp_print(netdissect_options *,const u_char *, int);
395 const u_char *data, int);
397 const u_char *data, int);
399 extern const char *nt_errstr(netdissect_options *, u_int32_t);
400 extern void print_data(netdissect_options *,const unsigned char *, int);
401 extern void l2tp_print(netdissect_options *,const u_char *, u_int);
402 extern void lcp_print(netdissect_options *,const u_char *, u_int);
403 extern void vrrp_print(netdissect_options *,const u_char *bp,
405 extern void cdp_print(netdissect_options *,const u_char *,
406 u_int, u_int, const u_char *, const u_char *);
407 extern void stp_print(netdissect_options *,const u_char *p, u_int length);
408 extern void radius_print(netdissect_options *,const u_char *, u_int);
409 extern void lwres_print(netdissect_options *,const u_char *, u_int);
410 const u_char *, u_int);
413 extern void ip6_print(netdissect_options *,const u_char *, u_int);
414 extern void ip6_opt_print(netdissect_options *,const u_char *, int);
415 extern int hbhopt_print(netdissect_options *,const u_char *);
416 extern int dstopt_print(netdissect_options *,const u_char *);
417 extern int frag6_print(netdissect_options *,const u_char *,
418 const u_char *);
419 extern void icmp6_print(netdissect_options *,const u_char *,
420 const u_char *);
421 extern void ripng_print(netdissect_options *,const u_char *, int);
422 extern int rt6_print(netdissect_options *,const u_char *, const u_char *);
423 extern void ospf6_print(netdissect_options *,const u_char *, u_int);
424 extern void dhcp6_print(netdissect_options *,const u_char *,
428 const u_char *cp, int length);
431 extern u_short in_cksum(const u_short *,