OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ifrp
(Results
1 - 3
of
3
) sorted by null
/external/libpcap/
fad-gifc.c
274
register struct ifreq *
ifrp
, *ifend, *ifnext;
local
299
* we have more than "sizeof(
ifrp
->ifr_name) + MAX_SA_LEN"
326
(buf_size - ifc.ifc_len) > sizeof(
ifrp
->ifr_name) + MAX_SA_LEN)
332
ifrp
= (struct ifreq *)buf;
335
for (;
ifrp
< ifend;
ifrp
= ifnext) {
346
n = SA_LEN(&
ifrp
->ifr_addr) + sizeof(
ifrp
->ifr_name);
347
if (n < sizeof(*
ifrp
))
348
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/e2fsprogs/lib/uuid/
gen_uuid.c
224
struct ifreq ifr, *
ifrp
;
local
261
for (i = 0; i < n; i+= ifreq_size(*
ifrp
) ) {
262
ifrp
= (struct ifreq *)((char *) ifc.ifc_buf+i);
263
strncpy(ifr.ifr_name,
ifrp
->ifr_name, IFNAMSIZ);
275
sdlp = (struct sockaddr_dl *) &
ifrp
->ifr_addr;
Completed in 54 milliseconds