OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:socket_afnet
(Results
1 - 4
of
4
) sorted by null
/external/dhcpcd/
net.c
75
int
socket_afnet
= -1;
variable
86
if (ioctl(
socket_afnet
, SIOCGIFINDEX, &ifr) != -1)
208
if (ioctl(
socket_afnet
, SIOCGIFFLAGS, &ifr) == -1)
222
if (ioctl(
socket_afnet
, SIOCGIFMTU, &ifr) == -1)
228
if (ioctl(
socket_afnet
, SIOCSIFMTU, &ifr) == -1)
285
if (ioctl(
socket_afnet
, SIOCGIFFLAGS, &ifr) == -1)
293
if (ioctl(
socket_afnet
, SIOCGIFMEDIA, &ifmr) != -1 &&
318
if (ioctl(
socket_afnet
, SIOCGIFFLAGS, &ifr) == 0) {
323
if (ioctl(
socket_afnet
, SIOCSIFFLAGS, &ifr) == 0)
590
r = ioctl(
socket_afnet
, mtu ? SIOCSIFMTU : SIOCGIFMTU, &ifr)
[
all
...]
if-bsd.c
105
if ((
socket_afnet
= socket(AF_INET, SOCK_DGRAM, 0)) == -1)
107
set_cloexec(
socket_afnet
);
131
if (ioctl(
socket_afnet
, SIOCG80211NWID, &ifr) == 0) {
143
if (ioctl(
socket_afnet
, SIOCG80211, &ireq) == 0) {
182
retval = ioctl(
socket_afnet
, SIOCDIFADDR, &ifa);
184
retval = ioctl(
socket_afnet
, SIOCAIFADDR, &ifa);
net.h
92
extern int
socket_afnet
;
if-linux.c
130
if ((
socket_afnet
= socket(AF_INET, SOCK_DGRAM, 0)) == -1)
132
set_cloexec(
socket_afnet
);
Completed in 120 milliseconds