MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vxlan_exists

Function vxlan_exists

tools/ifconfig/ifvxlan.c:102–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102static int
103vxlan_exists(int sock)
104{
105 struct ifvxlancfg cfg;
106
107 bzero(&cfg, sizeof(cfg));
108
109 return (do_cmd(sock, VXLAN_CMD_GET_CONFIG, &cfg, sizeof(cfg), 0) != -1);
110}
111
112static void
113vxlan_status(int s)

Callers 1

ifvxlan.cFile · 0.85

Calls 2

bzeroFunction · 0.85
do_cmdFunction · 0.70

Tested by

no test coverage detected