OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cmptr
(Results
1 - 3
of
3
) sorted by null
/external/dnsmasq/src/
forward.c
60
struct cmsghdr *
cmptr
;
local
63
cmptr
= CMSG_FIRSTHDR(&msg);
68
struct in_pktinfo *pkt = (struct in_pktinfo *)CMSG_DATA(
cmptr
);
71
msg.msg_controllen =
cmptr
->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo));
72
cmptr
->cmsg_level = SOL_IP;
73
cmptr
->cmsg_type = IP_PKTINFO;
75
struct in_addr *a = (struct in_addr *)CMSG_DATA(
cmptr
);
77
msg.msg_controllen =
cmptr
->cmsg_len = CMSG_LEN(sizeof(struct in_addr));
78
cmptr
->cmsg_level = IPPROTO_IP;
79
cmptr
->cmsg_type = IP_SENDSRCADDR
586
struct cmsghdr *
cmptr
;
local
[
all
...]
dhcp.c
100
struct cmsghdr *
cmptr
;
local
161
for (
cmptr
= CMSG_FIRSTHDR(&msg);
cmptr
;
cmptr
= CMSG_NXTHDR(&msg,
cmptr
))
162
if (
cmptr
->cmsg_level == SOL_IP &&
cmptr
->cmsg_type == IP_PKTINFO)
164
iface_index = ((struct in_pktinfo *)CMSG_DATA(
cmptr
))->ipi_ifindex;
165
if (((struct in_pktinfo *)CMSG_DATA(
cmptr
))->ipi_addr.s_addr != INADDR_BROADCAST)
266
cmptr
= CMSG_FIRSTHDR(&msg)
[
all
...]
/external/mdnsresponder/mDNSPosix/
mDNSUNP.c
524
struct cmsghdr *
cmptr
;
local
575
for (
cmptr
= CMSG_FIRSTHDR(&msg);
cmptr
!= NULL;
576
cmptr
= CMSG_NXTHDR(&msg,
cmptr
)) {
587
if (
cmptr
->cmsg_level == IPPROTO_IP &&
588
cmptr
->cmsg_type == IP_PKTINFO) {
592
tmp = (struct in_pktinfo *) CMSG_DATA(
cmptr
);
602
if (
cmptr
->cmsg_level == IPPROTO_IP &&
603
cmptr
->cmsg_type == IP_RECVDSTADDR)
[
all
...]
Completed in 608 milliseconds