Searched refs:pktp (Results 1 – 3 of 3) sorted by relevance
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 517 struct sockaddr *sa, socklen_t *salenptr, struct my_in_pktinfo *pktp, u_char *ttl) in recvfrom_flags() argument 550 if (pktp) { in recvfrom_flags() 558 memset(pktp, 0, sizeof(struct my_in_pktinfo)); in recvfrom_flags() 559 pktp->ipi_ifindex = -1; in recvfrom_flags() 572 (msg.msg_flags & MSG_CTRUNC) || pktp == NULL) in recvfrom_flags() 590 struct sockaddr_in *sin = (struct sockaddr_in*)&pktp->ipi_addr; in recvfrom_flags() 596 pktp->ipi_ifindex = tmp->ipi_ifindex; in recvfrom_flags() 604 struct sockaddr_in *sin = (struct sockaddr_in*)&pktp->ipi_addr; in recvfrom_flags() 619 strncpy(pktp->ipi_ifname, sdl->sdl_data, nameLen); in recvfrom_flags() 621 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 | 2322 u_char pkt[4], *pktp; local 2339 pktp = pkt; 2340 PUTLONG(lcp_magic, pktp); 2341 fsm_sdata(f, ECHOREQ, lcp_echo_number++ & 0xFF, pkt, pktp - pkt);
|