Home
last modified time | relevance | path

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

/freebsd-13.1/sbin/ipf/ipsend/
H A Dip.c31 static char *ipbuf = NULL, *ethbuf = NULL; variable
92 if (!ipbuf) in send_ip()
94 ipbuf = (char *)malloc(65536); in send_ip()
95 if (!ipbuf) in send_ip()
102 eh = (ether_header_t *)ipbuf; in send_ip()
142 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen); in send_ip()
143 err = sendip(nfd, ipbuf, sizeof(*eh) + iplen); in send_ip()
214 bcopy((char *)ip, ipbuf + sizeof(*eh), hlen); in send_ip()
215 bcopy(s + sent, ipbuf + sizeof(*eh) + hlen, ts - hlen); in send_ip()
216 err = sendip(nfd, ipbuf, sizeof(*eh) + ts); in send_ip()
[all …]
/freebsd-13.1/sbin/ipf/libipf/
H A Dprinthost.c16 char ipbuf[64]; in printhost() local
27 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf))); in printhost()
H A Dprinthostmask.c18 char ipbuf[64]; in printhostmask() local
29 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf))); in printhostmask()
/freebsd-13.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-13.1/usr.sbin/jls/
H A Djls.c566 char ipbuf[INET6_ADDRSTRLEN]; in emit_ip_addr_list() local
591 ipbuf, sizeof(ipbuf)) == NULL) { in emit_ip_addr_list()
594 xo_emit(emit_str, ipbuf); in emit_ip_addr_list()
/freebsd-13.1/contrib/sendmail/src/
H A Dmain.c777 char ipbuf[103]; local
779 ipbuf[0] = '\0';
788 (void) sm_snprintf(ipbuf, sizeof(ipbuf),
801 (void) sm_snprintf(ipbuf, sizeof(ipbuf),
806 if (ipbuf[0] == '\0')
810 sm_dprintf("\ta.k.a.: %s\n", ipbuf);
811 setclass('w', ipbuf);
2664 char ipbuf[103]; local
2666 (void) sm_snprintf(ipbuf, sizeof(ipbuf), "[%.100s]",
2669 macid("{client_name}"), ipbuf);