Lines Matching defs:buf
678 char *buf;
680 buf = ipsec_set_policy(policy_in, strlen(policy_in));
681 if (buf == NULL)
684 buf, ipsec_get_policylen(buf)) < 0)
687 free(buf);
691 buf = ipsec_set_policy(policy_out, strlen(policy_out));
692 if (buf == NULL)
695 buf, ipsec_get_policylen(buf)) < 0)
698 free(buf);
1129 pr_pack(char *buf, ssize_t cc, struct sockaddr_in *from, struct timespec *tv)
1156 memcpy(&l, buf, sizeof(l));
1167 memcpy(&ip, buf, sizeof(struct ip));
1179 icmp_data_raw = buf + hlen + offsetof(struct icmp, icmp_data);
1183 memcpy(&icp, buf + hlen, MIN((ssize_t)sizeof(icp), cc));
1268 cp = (u_char*)(buf + hlen + offsetof(struct icmp,
1284 cp = (u_char*)(buf + hlen +
1367 cp = (u_char *)buf + sizeof(struct ip);
1633 static char buf[16 + 3 + MAXHOSTNAMELEN];
1646 (void)snprintf(buf, sizeof(buf), "%s (%s)", hp->h_name,
1648 return(buf);
1654 static char buf[11];
1662 (void)snprintf(buf, sizeof(buf), "%02d:%02d:%02d", hour, min, sec);
1664 return (buf);