Home | History | Annotate | Download | only in racoon

Lines Matching full:sizeof

127 	struct iovec iov = { buf, sizeof(buf) };
137 (void*)&nladdr, sizeof(nladdr),
177 memset(rta_tb, 0, sizeof(rta_tb));
178 parse_rtattr(rta_tb, IFA_MAX, IFA_RTA(m), h->nlmsg_len - NLMSG_LENGTH(sizeof(*m)));
185 I = malloc(sizeof(struct ifaddrs));
188 memset(I, 0, sizeof(*I));
229 memset(&nladdr, 0, sizeof(nladdr));
232 req.nlh.nlmsg_len = sizeof(req);
239 if (sendto(fd, (void*)&req, sizeof(req), 0, (struct sockaddr*)&nladdr, sizeof(nladdr)) < 0) {
314 if (getnameinfo(p->addr, sysdep_sa_len(p->addr), h1, sizeof(h1), NULL, 0,
321 if (getnameinfo(q->addr, sysdep_sa_len(q->addr), h2, sizeof(h2),
406 addr1, sizeof(addr1),
409 strlcpy(addr1, "(invalid)", sizeof(addr1));
443 len = maxif * sizeof(struct sockaddr_storage) * 4; /* guess guess */
460 memset(&ifconf, 0, sizeof(ifconf));
479 (sizeof((p)->ifr_name) + sysdep_sa_len(&(p)->ifr_addr) > sizeof(struct ifreq) \
480 ? sizeof((p)->ifr_name) + sysdep_sa_len(&(p)->ifr_addr) : sizeof(struct ifreq))
522 addr1, sizeof(addr1),
525 strlcpy(addr1, "(invalid)", sizeof(addr1));
596 memset(&ifr6, 0, sizeof(ifr6));
628 len = read(lcconf->rtsock, msg, sizeof(msg));
631 if (len < sizeof(*h))
645 len = read(lcconf->rtsock, msg, sizeof(msg));
765 new = racoon_calloc(1, sizeof(*new));
783 new = racoon_calloc(1, sizeof(*new));
791 memcpy (new, old, sizeof (*new));
840 memset(&nl, 0, sizeof(nl));
844 if (bind(lcconf->rtsock, (struct sockaddr*)&nl, sizeof(nl)) < 0) {
850 addr_len = sizeof(nl);
898 sysdep_sa_len(my) - sizeof(uint32_t)) == 0) {