Searched refs:ipbuf (Results 1 – 6 of 6) sorted by relevance
| /freebsd-14.2/sbin/ipf/ipsend/ |
| H A D | ip.c | 30 static char *ipbuf = NULL, *ethbuf = NULL; variable 91 if (!ipbuf) in send_ip() 93 ipbuf = (char *)malloc(65536); in send_ip() 94 if (!ipbuf) in send_ip() 101 eh = (ether_header_t *)ipbuf; in send_ip() 141 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen); in send_ip() 142 err = sendip(nfd, ipbuf, sizeof(*eh) + iplen); in send_ip() 213 bcopy((char *)ip, ipbuf + sizeof(*eh), hlen); in send_ip() 214 bcopy(s + sent, ipbuf + sizeof(*eh) + hlen, ts - hlen); in send_ip() 215 err = sendip(nfd, ipbuf, sizeof(*eh) + ts); in send_ip() [all …]
|
| /freebsd-14.2/sbin/ipf/libipf/ |
| H A D | printhost.c | 16 char ipbuf[64]; in printhost() local 27 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf))); in printhost()
|
| H A D | printhostmask.c | 17 char ipbuf[64]; in printhostmask() local 28 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf))); in printhostmask()
|
| /freebsd-14.2/usr.sbin/quot/ |
| H A D | quot.c | 112 static caddr_t ipbuf; in get_inode() local 119 if (ipbuf) { in get_inode() 120 free(ipbuf); in get_inode() 121 ipbuf = 0; in get_inode() 130 if (!ipbuf || ino < last || ino >= last + INOCNT(super)) { in get_inode() 143 if (!ipbuf in get_inode() 144 && !(ipbuf = malloc(INOSZ(super)))) in get_inode() 148 || read(fd, ipbuf, INOSZ(super)) != (ssize_t)INOSZ(super)) in get_inode() 154 &((struct ufs1_dinode *)ipbuf)[ino % INOCNT(super)]); in get_inode() 155 di2 = &((struct ufs2_dinode *)ipbuf)[ino % INOCNT(super)]; in get_inode()
|
| /freebsd-14.2/usr.sbin/jls/ |
| H A D | jls.c | 569 char ipbuf[INET6_ADDRSTRLEN]; in emit_ip_addr_list() local 594 ipbuf, sizeof(ipbuf)) == NULL) { in emit_ip_addr_list() 597 xo_emit(emit_str, ipbuf); in emit_ip_addr_list()
|
| /freebsd-14.2/contrib/sendmail/src/ |
| H A D | main.c | 805 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);
|