Searched refs:ipbuf (Results 1 – 6 of 6) sorted by relevance
| /src/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 …]
|
| /src/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()
|
| /src/usr.sbin/quot/ |
| H A D | quot.c | 106 static union dinode *ipbuf; in get_inode() local 114 free(ipbuf); in get_inode() 115 ipbuf = NULL; in get_inode() 121 if (ipbuf == NULL || ino < last || ino >= last + INOCNT(super)) { in get_inode() 134 if (ipbuf == NULL && (ipbuf = malloc(INOSZ(super))) == NULL) in get_inode() 139 read(fd, ipbuf, INOSZ(super)) != (ssize_t)INOSZ(super)) in get_inode() 145 &((struct ufs1_dinode *)ipbuf)[ino % INOCNT(super)]); in get_inode() 146 di2 = &((struct ufs2_dinode *)ipbuf)[ino % INOCNT(super)]; in get_inode()
|
| /src/usr.sbin/jls/ |
| H A D | jls.c | 627 char ipbuf[INET6_ADDRSTRLEN]; in emit_ip_addr_list() local 652 ipbuf, sizeof(ipbuf)) == NULL) { in emit_ip_addr_list() 655 xo_emit(emit_str, ipbuf); in emit_ip_addr_list()
|
| /src/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);
|