MCPcopy Create free account
hub / github.com/ioi/isolate / ifreq

Class ifreq

isolate.c:724–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722 die("Cannot create PF_INET socket: %m");
723
724 struct ifreq ifr = { .ifr_name = "lo" };
725 if (ioctl(fd, SIOCGIFFLAGS, &ifr) < 0)
726 die("SIOCGIFFLAGS on 'lo' failed: %m");
727

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…