OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:cmptr
(Results
1 - 4
of
4
) 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
574
struct cmsghdr *
cmptr
;
local
[
all
...]
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
...]
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
...]
/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 348 milliseconds