OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:if_index
(Results
1 - 5
of
5
) sorted by null
/external/wpa_supplicant_8/src/ap/
vlan_init.c
115
int
if_index
;
local
124
if_index
= if_nametoindex(if_name);
126
if (
if_index
== 0) {
135
args[1] =
if_index
;
166
int
if_index
;
local
175
if_index
= if_nametoindex(if_name);
177
if (
if_index
== 0) {
186
args[1] =
if_index
;
/external/dnsmasq/src/
forward.c
571
int
if_index
= 0;
local
643
if_index
= ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex;
653
if_index
= *((unsigned int *)CMSG_DATA(cmptr));
655
if_index
= ((struct sockaddr_dl *)CMSG_DATA(cmptr))->sdl_index;
667
if_index
=((struct in6_pktinfo *)CMSG_DATA(cmptr))->ipi6_ifindex;
674
if (!indextoname(listen->fd,
if_index
, ifr.ifr_name) ||
675
!iface_check(listen->family, &dst_addr, ifr.ifr_name, &
if_index
))
707
m, &source_addr, &dst_addr,
if_index
);
710
else if (forward_query(listen->fd, &source_addr, &dst_addr,
if_index
,
tftp.c
50
int is_err = 1,
if_index
= 0, mtu = 0;
local
103
if_index
= ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex;
111
if_index
= *((unsigned int *)CMSG_DATA(cmptr));
119
if_index
= ((struct sockaddr_dl *)CMSG_DATA(cmptr))->sdl_index;
123
if (!indextoname(listen->tftpfd,
if_index
, name) ||
125
!iface_check(AF_INET, (struct all_addr *)&addr.sin_addr, name, &
if_index
))
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/net/
if.h
36
unsigned int
if_index
; /* 1, 2, ... */
member in struct:if_nameindex
/system/core/libnetutils/
dhcpclient.c
338
static int send_message(int sock, int
if_index
, dhcp_msg *msg, int size)
343
return send_packet(sock,
if_index
, msg, size, INADDR_ANY, INADDR_BROADCAST,
397
int
if_index
;
local
404
if (ifc_get_ifindex(ifname, &
if_index
)) {
408
s = open_raw_socket(ifname, hwaddr,
if_index
);
453
r = send_message(s,
if_index
, msg, size);
Completed in 372 milliseconds