OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ifrp
(Results
1 - 4
of
4
) sorted by null
/external/libpcap/
fad-gifc.c
144
register struct ifreq *
ifrp
, *ifend, *ifnext;
local
169
* we have more than "sizeof(
ifrp
->ifr_name) + MAX_SA_LEN"
196
(buf_size - ifc.ifc_len) > sizeof(
ifrp
->ifr_name) + MAX_SA_LEN)
202
ifrp
= (struct ifreq *)buf;
205
for (;
ifrp
< ifend;
ifrp
= ifnext) {
216
n = SA_LEN(&
ifrp
->ifr_addr) + sizeof(
ifrp
->ifr_name);
217
if (n < sizeof(*
ifrp
))
218
ifnext =
ifrp
+ 1
[
all
...]
fad-glifc.c
87
register struct lifreq *
ifrp
, *ifend;
local
168
ifrp
= (struct lifreq *)buf;
171
for (;
ifrp
< ifend;
ifrp
++) {
175
if (((struct sockaddr *)&
ifrp
->lifr_addr)->sa_family == AF_INET6)
185
if (strncmp(
ifrp
->lifr_name, "dummy", 5) == 0)
194
p = strchr(
ifrp
->lifr_name, ':');
214
strncpy(ifrflags.lifr_name,
ifrp
->lifr_name,
233
strncpy(ifrnetmask.lifr_name,
ifrp
->lifr_name,
235
memcpy(&ifrnetmask.lifr_addr, &
ifrp
->lifr_addr
[
all
...]
/external/iputils/
rarpd.c
90
struct ifreq *
ifrp
, *ifend;
local
120
for (
ifrp
= ibuf;
ifrp
< ifend;
ifrp
++) {
125
if (
ifrp
->ifr_addr.sa_family != AF_INET)
127
addr = ((struct sockaddr_in*)&
ifrp
->ifr_addr)->sin_addr.s_addr;
130
if (ioctl(fd, SIOCGIFINDEX,
ifrp
)) {
134
if (ifidx &&
ifrp
->ifr_ifindex != ifidx)
137
if (ifl->index ==
ifrp
->ifr_ifindex)
141
int index =
ifrp
->ifr_ifindex
[
all
...]
/external/e2fsprogs/lib/uuid/
gen_uuid.c
228
struct ifreq ifr, *
ifrp
;
local
265
for (i = 0; i < n; i+= ifreq_size(*
ifrp
) ) {
266
ifrp
= (struct ifreq *)((char *) ifc.ifc_buf+i);
267
strncpy(ifr.ifr_name,
ifrp
->ifr_name, IFNAMSIZ);
279
sdlp = (struct sockaddr_dl *) &
ifrp
->ifr_addr;
Completed in 364 milliseconds