OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ctl_sock
(Results
1 - 2
of
2
) sorted by null
/bionic/libc/bionic/
if_indextoname.c
44
int
ctl_sock
;
local
51
if ((
ctl_sock
= socket(AF_INET, SOCK_DGRAM, 0)) >= 0) {
52
if (ioctl(
ctl_sock
, SIOCGIFNAME, &ifr) >= 0) {
59
close(
ctl_sock
);
if_nametoindex.c
43
int
ctl_sock
;
local
51
if ((
ctl_sock
= socket(AF_INET, SOCK_DGRAM, 0)) >= 0) {
52
if (ioctl(
ctl_sock
, SIOCGIFINDEX, &ifr) >= 0) {
55
close(
ctl_sock
);
Completed in 47 milliseconds