OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cmptr
(Results
1 - 5
of
5
) sorted by null
/external/dnsmasq/src/
tftp.c
94
struct cmsghdr *
cmptr
;
local
99
for (
cmptr
= CMSG_FIRSTHDR(&msg);
cmptr
;
cmptr
= CMSG_NXTHDR(&msg,
cmptr
))
100
if (
cmptr
->cmsg_level == SOL_IP &&
cmptr
->cmsg_type == IP_PKTINFO)
102
addr.sin_addr = ((struct in_pktinfo *)CMSG_DATA(
cmptr
))->ipi_spec_dst;
103
if_index = ((struct in_pktinfo *)CMSG_DATA(
cmptr
))->ipi_ifindex;
107
for (
cmptr
= CMSG_FIRSTHDR(&msg); cmptr; cmptr = CMSG_NXTHDR(&msg, cmptr)
[
all
...]
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
574
struct cmsghdr *
cmptr
;
local
[
all
...]
dhcp.c
110
struct cmsghdr *
cmptr
;
local
175
for (
cmptr
= CMSG_FIRSTHDR(&msg);
cmptr
;
cmptr
= CMSG_NXTHDR(&msg,
cmptr
))
176
if (
cmptr
->cmsg_level == SOL_IP &&
cmptr
->cmsg_type == IP_PKTINFO)
178
iface_index = ((struct in_pktinfo *)CMSG_DATA(
cmptr
))->ipi_ifindex;
179
if (((struct in_pktinfo *)CMSG_DATA(
cmptr
))->ipi_addr.s_addr != INADDR_BROADCAST)
185
for (
cmptr
= CMSG_FIRSTHDR(&msg); cmptr; cmptr = CMSG_NXTHDR(&msg, cmptr)
[
all
...]
/external/mdnsresponder/mDNSPosix/
mDNSUNP.c
517
struct cmsghdr *
cmptr
;
local
568
for (
cmptr
= CMSG_FIRSTHDR(&msg);
cmptr
!= NULL;
569
cmptr
= CMSG_NXTHDR(&msg,
cmptr
)) {
580
if (
cmptr
->cmsg_level == IPPROTO_IP &&
581
cmptr
->cmsg_type == IP_PKTINFO) {
585
tmp = (struct in_pktinfo *) CMSG_DATA(
cmptr
);
595
if (
cmptr
->cmsg_level == IPPROTO_IP &&
596
cmptr
->cmsg_type == IP_RECVDSTADDR)
[
all
...]
/system/core/libcutils/
mq.c
482
struct cmsghdr *
cmptr
;
local
486
cmptr
= CMSG_FIRSTHDR(&msg);
487
cmptr
->cmsg_len = CMSG_LEN(sizeof(int));
488
cmptr
->cmsg_level = SOL_SOCKET;
489
cmptr
->cmsg_type = SCM_RIGHTS;
492
*((int *) CMSG_DATA(
cmptr
)) = peerProxy->currentPacket->socket;
732
struct cmsghdr *
cmptr
;
local
764
if ((
cmptr
= CMSG_FIRSTHDR(&msg)) != NULL
765
&&
cmptr
->cmsg_len == CMSG_LEN(sizeof(int))) {
766
if (
cmptr
->cmsg_level != SOL_SOCKET)
[
all
...]
Completed in 195 milliseconds