Searched refs:pktp (Results 1 – 3 of 3) sorted by relevance
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 510 struct sockaddr *sa, socklen_t *salenptr, struct my_in_pktinfo *pktp, u_char *ttl) in recvfrom_flags() argument 543 if (pktp) { in recvfrom_flags() 551 memset(pktp, 0, sizeof(struct my_in_pktinfo)); in recvfrom_flags() 552 pktp->ipi_ifindex = -1; in recvfrom_flags() 565 (msg.msg_flags & MSG_CTRUNC) || pktp == NULL) in recvfrom_flags() 583 struct sockaddr_in *sin = (struct sockaddr_in*)&pktp->ipi_addr; in recvfrom_flags() 589 pktp->ipi_ifindex = tmp->ipi_ifindex; in recvfrom_flags() 597 struct sockaddr_in *sin = (struct sockaddr_in*)&pktp->ipi_addr; in recvfrom_flags() 612 strncpy(pktp->ipi_ifname, sdl->sdl_data, nameLen); in recvfrom_flags() 614 pktp->ipi_ifindex = sdl->sdl_index; in recvfrom_flags() [all …]
|
D | mDNSUNP.h | 83 struct sockaddr *sa, socklen_t *salenptr, struct my_in_pktinfo *pktp, u_char *ttl);
|
/external/ppp/pppd/ |
D | lcp.c | 2279 u_char pkt[4], *pktp; local 2296 pktp = pkt; 2297 PUTLONG(lcp_magic, pktp); 2298 fsm_sdata(f, ECHOREQ, lcp_echo_number++ & 0xFF, pkt, pktp - pkt);
|