MCPcopy Index your code
hub / github.com/F-Stack/f-stack / usage

Function usage

tools/arp/arp.c:735–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

733}
734
735static void
736usage(void)
737{
738 fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n%s\n",
739#ifndef FSTACK
740 "usage: arp [-n] [-i interface] hostname",
741 " arp [-n] [-i interface] -a",
742 " arp -d hostname [pub]",
743 " arp -d [-i interface] -a",
744 " arp -s hostname ether_addr [temp] [reject | blackhole] [pub [only]]",
745 " arp -S hostname ether_addr [temp] [reject | blackhole] [pub [only]]",
746 " arp -f filename");
747#else
748 "usage: arp -p <f-stack proc_id> [-n] [-i interface] hostname",
749 " arp -p <f-stack proc_id> [-n] [-i interface] -a",
750 " arp -p <f-stack proc_id> -d hostname [pub]",
751 " arp -p <f-stack proc_id> -d [-i interface] -a",
752 " arp -p <f-stack proc_id> -s hostname ether_addr [temp] [reject | blackhole] [pub [only]]",
753 " arp -p <f-stack proc_id> -S hostname ether_addr [temp] [reject | blackhole] [pub [only]]",
754 " arp -p <f-stack proc_id> -f filename");
755#endif
756#ifdef FSTACK
757 ff_ipc_exit();
758#endif
759
760 exit(1);
761}
762
763static struct rt_msghdr *
764rtmsg(int cmd, struct sockaddr_in *dst, struct sockaddr_dl *sdl)

Callers 2

mainFunction · 0.70
setFunction · 0.70

Calls 1

ff_ipc_exitFunction · 0.85

Tested by

no test coverage detected