Home
last modified time | relevance | path

Searched refs:PTR_DIFF (Results 1 – 3 of 3) sorted by relevance

/openbsd/usr.sbin/tcpdump/
H A Dsmbutil.c231 return(PTR_DIFF(s,s0)+1); in name_len()
258 int l = PTR_DIFF(p,fmt); in write_bits()
408 printf("%.*s",(int)PTR_DIFF(maxbuf,buf),unistr(buf, &len)); in fdata1()
417 *buf,(int)PTR_DIFF(maxbuf,buf)); in fdata1()
418 printf("%.*s",(int)PTR_DIFF(maxbuf,buf+1),unistr(buf+1, &len)); in fdata1()
446 name_type = name_extract(startbuf,PTR_DIFF(buf,startbuf),maxbuf, in fdata1()
568 int len = PTR_DIFF(maxbuf,buf); in fdata()
H A Dsmb.h149 #define PTR_DIFF(p1,p2) ((unsigned long)(((char *)(p1)) - (char *)(p2))) macro
H A Dprint-smb.c602 if (nbt_len>PTR_DIFF(maxbuf,data)) in nbt_tcp_print()