Searched refs:ipbuf (Results 1 – 6 of 6) sorted by relevance
/freebsd/sbin/ipf/ipsend/ |
H A D | ip.c | 26 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 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/usr.sbin/quot/ |
H A D | quot.c | 107 static caddr_t ipbuf; 114 if (ipbuf) { in get_inode() 115 free(ipbuf); in get_inode() 116 ipbuf = 0; in get_inode() 125 if (!ipbuf || ino < last || ino >= last + INOCNT(super)) { in get_inode() 138 if (!ipbuf in get_inode() 139 && !(ipbuf = malloc(INOSZ(super)))) in get_inode() 143 || read(fd, ipbuf, INOSZ(super)) != (ssize_t)INOSZ(super)) in get_inode() 149 &((struct ufs1_dinode *)ipbuf)[ino % INOCNT(super)]); in get_inode() 150 di2 = &((struct ufs2_dinode *)ipbuf)[in in get_inode() 111 static caddr_t ipbuf; get_inode() local [all...] |
/freebsd/usr.sbin/jls/ |
H A D | jls.c | 577 char ipbuf[INET6_ADDRSTRLEN]; in emit_ip_addr_list() local 602 ipbuf, sizeof(ipbuf)) == NULL) { in emit_ip_addr_list() 605 xo_emit(emit_str, ipbuf); in emit_ip_addr_list()
|
/freebsd/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);
|