freebsd-nq/usr.bin/kdump/kdump_subr.h
Craig Rodrigues 8bc31d836f Add sockipprotoname() function. Decode the third parameter (protocol)
of a socket() call with sockipprotoname() if the first parameter (domain)
is PF_INET or PF_INET6.

Old parsing behavior before this change:
ping6    CALL  socket(PF_INET6,SOCK_RAW,0x3a)

New behavior after this change:
ping6    CALL  socket(PF_INET6,SOCK_RAW,IPPROTO_ICMPV6)
2007-01-04 04:46:59 +00:00

48 lines
1.2 KiB
C

/* $FreeBSD$ */
void signame (int);
void semctlname (int);
void shmctlname (int);
void semgetname (int);
void fcntlcmdname (int, int, int);
void rtprioname (int);
void modename (int);
void flagsname (int);
void flagsandmodename (int, int, int);
void accessmodename (int);
void mmapprotname (int);
void mmapflagsname (int);
void wait4optname (int);
void sendrecvflagsname (int);
void getfsstatflagsname (int);
void mountflagsname (int);
void rebootoptname (int);
void flockname (int);
void sockoptname (int);
void sockoptlevelname (int, int);
void sockdomainname (int);
void sockipprotoname (int);
void socktypename (int);
void thrcreateflagsname (int);
void mlockallname (int);
void shmatname (int);
void rforkname (int);
void nfssvcname (int);
void whencename (int);
void rlimitname (int);
void shutdownhowname (int);
void prioname (int);
void madvisebehavname (int);
void msyncflagsname (int);
void schedpolicyname (int);
void kldunloadfflagsname (int);
void ksethrcmdname (int);
void extattrctlname (int);
void kldsymcmdname (int);
void sendfileflagsname (int);
void acltypename (int);
void sigprocmaskhowname (int);
void lio_listioname (int);
void minheritname (int);
void quotactlname (int);