Home
last modified time | relevance | path

Searched refs:ipbuf (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/contrib/ipfilter/ipsend/
H A Dip.c31 static char *ipbuf = NULL, *ethbuf = NULL; variable
98 if (!ipbuf)
100 ipbuf = (char *)malloc(65536);
101 if (!ipbuf)
108 eh = (ether_header_t *)ipbuf;
148 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen);
149 err = sendip(nfd, ipbuf, sizeof(*eh) + iplen);
220 bcopy((char *)ip, ipbuf + sizeof(*eh), hlen);
221 bcopy(s + sent, ipbuf + sizeof(*eh) + hlen, ts - hlen);
222 err = sendip(nfd, ipbuf, sizeof(*eh) + ts);
[all …]
/freebsd-12.1/contrib/ipfilter/lib/
H A Dprinthost.c18 char ipbuf[64]; local
29 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf)));
H A Dprinthostmask.c20 char ipbuf[64]; local
31 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf)));
/freebsd-12.1/usr.sbin/quot/
H A Dquot.c114 static caddr_t ipbuf; in get_inode() local
121 if (ipbuf) { in get_inode()
122 free(ipbuf); in get_inode()
123 ipbuf = 0; in get_inode()
132 if (!ipbuf || ino < last || ino >= last + INOCNT(super)) { in get_inode()
145 if (!ipbuf in get_inode()
146 && !(ipbuf = malloc(INOSZ(super)))) in get_inode()
150 || read(fd, ipbuf, INOSZ(super)) != (ssize_t)INOSZ(super)) in get_inode()
156 &((struct ufs1_dinode *)ipbuf)[ino % INOCNT(super)]); in get_inode()
157 di2 = &((struct ufs2_dinode *)ipbuf)[ino % INOCNT(super)]; in get_inode()
/freebsd-12.1/usr.sbin/jls/
H A Djls.c572 char ipbuf[INET6_ADDRSTRLEN]; in emit_ip_addr_list() local
597 ipbuf, sizeof(ipbuf)) == NULL) { in emit_ip_addr_list()
600 xo_emit(emit_str, ipbuf); in emit_ip_addr_list()
/freebsd-12.1/contrib/sendmail/src/
H A Dmain.c772 char ipbuf[103]; local
774 ipbuf[0] = '\0';
783 (void) sm_snprintf(ipbuf, sizeof(ipbuf),
796 (void) sm_snprintf(ipbuf, sizeof(ipbuf),
801 if (ipbuf[0] == '\0')
805 sm_dprintf("\ta.k.a.: %s\n", ipbuf);
806 setclass('w', ipbuf);
2645 char ipbuf[103]; local
2647 (void) sm_snprintf(ipbuf, sizeof(ipbuf), "[%.100s]",
2650 macid("{client_name}"), ipbuf);