Home
last modified time | relevance | path

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

/freebsd/sbin/ipf/ipsend/
H A Dip.c26 static char *ipbuf = NULL, *ethbuf = NULL; variable
87 if (!ipbuf) in send_ip()
89 ipbuf = (char *)malloc(65536); in send_ip()
90 if (!ipbuf) in send_ip()
97 eh = (ether_header_t *)ipbuf; in send_ip()
137 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen); in send_ip()
138 err = sendip(nfd, ipbuf, sizeof(*eh) + iplen); in send_ip()
209 bcopy((char *)ip, ipbuf + sizeof(*eh), hlen); in send_ip()
210 bcopy(s + sent, ipbuf + sizeof(*eh) + hlen, ts - hlen); in send_ip()
211 err = sendip(nfd, ipbuf, sizeof(*eh) + ts); in send_ip()
[all …]
/freebsd/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.c17 char ipbuf[64]; in printhostmask() local
28 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf))); in printhostmask()
/freebsd/usr.sbin/quot/
H A Dquot.c111 static caddr_t ipbuf; in get_inode() local
118 if (ipbuf) { in get_inode()
119 free(ipbuf); in get_inode()
120 ipbuf = 0; in get_inode()
129 if (!ipbuf || ino < last || ino >= last + INOCNT(super)) { in get_inode()
142 if (!ipbuf in get_inode()
143 && !(ipbuf = malloc(INOSZ(super)))) in get_inode()
147 || read(fd, ipbuf, INOSZ(super)) != (ssize_t)INOSZ(super)) in get_inode()
153 &((struct ufs1_dinode *)ipbuf)[ino % INOCNT(super)]); in get_inode()
154 di2 = &((struct ufs2_dinode *)ipbuf)[ino % INOCNT(super)]; in get_inode()
/freebsd/usr.sbin/jls/
H A Djls.c568 char ipbuf[INET6_ADDRSTRLEN]; in emit_ip_addr_list() local
593 ipbuf, sizeof(ipbuf)) == NULL) { in emit_ip_addr_list()
596 xo_emit(emit_str, ipbuf); in emit_ip_addr_list()
/freebsd/contrib/sendmail/src/
H A Dmain.c805 char ipbuf[103]; local
807 ipbuf[0] = '\0';
816 (void) sm_snprintf(ipbuf, sizeof(ipbuf),
829 (void) sm_snprintf(ipbuf, sizeof(ipbuf),
834 if (ipbuf[0] == '\0')
838 sm_dprintf("\ta.k.a.: %s\n", ipbuf);
839 setclass('w', ipbuf);
2716 char ipbuf[103]; local
2718 (void) sm_snprintf(ipbuf, sizeof(ipbuf), "[%.100s]",
2721 macid("{client_name}"), ipbuf);