/src/sys/arch/i386/stand/efiboot/ |
efinet.c | 59 UINT8 *pktbuf; member in struct:efinetinfo 191 dealloc(eni->pktbuf, eni->pktbufsz); 193 eni->pktbuf = buf; 195 ptr = eni->pktbuf + ETHER_ALIGN; 385 enis[nifs].pktbuf = alloc(enis[nifs].pktbufsz); 386 if (enis[nifs].pktbuf == NULL) { 388 dealloc(enis[i].pktbuf, enis[i].pktbufsz); 415 dealloc(enis[i].pktbuf, enis[i].pktbufsz);
|
/src/usr.sbin/bootp/bootpgw/ |
bootpgw.c | 122 char *pktbuf; /* Receive packet buffer */ 169 pktbuf = malloc(MAX_MSG_SIZE); 170 if (!pktbuf) { 174 bp = (struct bootp *) pktbuf; 442 n = recvfrom(s, pktbuf, MAX_MSG_SIZE, 0, 503 struct bootp *bp = (struct bootp *) pktbuf; 578 if (sendto(s, pktbuf, pktlen, 0, 595 struct bootp *bp = (struct bootp *) pktbuf; 645 if (sendto(s, pktbuf, pktlen, 0, 121 char *pktbuf; \/* Receive packet buffer *\/ variable in typeref:typename:char *
|
/src/sys/stand/efiboot/ |
efinet.c | 57 UINT8 *pktbuf; member in struct:efinetinfo 179 ptr = eni->pktbuf; 222 dealloc(eni->pktbuf, eni->pktbufsz); 224 eni->pktbuf = buf; 226 ptr = eni->pktbuf + ETHER_ALIGN; 395 enis[nifs].pktbuf = alloc(enis[nifs].pktbufsz); 396 if (enis[nifs].pktbuf == NULL) { 398 dealloc(enis[i].pktbuf, enis[i].pktbufsz); 431 dealloc(enis[i].pktbuf, enis[i].pktbufsz);
|
/src/sys/arch/amiga/dev/ |
if_es.c | 551 u_char *b, pktbuf[1530]; local in function:esrint 617 lbuf = (u_long *) pktbuf; 627 buf = (u_short *)pktbuf; 644 printf ("%02x%s", pktbuf[i], ((i & 31) == 31) ? "\n" : 672 b = pktbuf; 746 u_short pktbuf[ETHERMTU + 2]; local in function:esstart 833 memcpy((char *)pktbuf + i, mtod(m, void *), m->m_len); 838 pktbuf[i/2] = (pktbuf[i/2] & 0xff00) | CTLB_ODD; 840 pktbuf[i/2] = 0 [all...] |
/src/usr.sbin/bootp/bootpd/ |
bootpd.c | 148 char *pktbuf; /* Receive packet buffer */ 208 pktbuf = malloc(MAX_MSG_SIZE); 209 if (!pktbuf) { 213 bp = (struct bootp *) pktbuf; 515 n = recvfrom(s, pktbuf, MAX_MSG_SIZE, 0, 598 struct bootp *bp = (struct bootp *) pktbuf; 1013 struct bootp *bp = (struct bootp *) pktbuf; 1098 if (sendto(s, pktbuf, pktlen, 0, 146 char *pktbuf; \/* Receive packet buffer *\/ variable in typeref:typename:char *
|
/src/sys/dev/usb/ |
if_smsc.c | 934 uint8_t *pktbuf = buf + ETHER_ALIGN; local in function:smsc_uno_rx_loop 945 struct ether_header *eh = (struct ether_header *)pktbuf; 999 usbnet_enqueue(un, pktbuf, buflen, csum_flags, csum_data,
|
/src/sys/dev/ieee1394/ |
fwohci.c | 2753 struct fw_pkt pktbuf, *fp; local in function:fwohci_arcv 2809 KASSERT(rlen <= sizeof(pktbuf)); 2811 p = (char *)&pktbuf; 2815 rlen = sizeof(pktbuf) - rlen; 2819 hlen = fwohci_arcv_swap(&pktbuf, 2820 sizeof(pktbuf)); 2826 offset = sizeof(pktbuf); 2827 vec[0].iov_base = (char *)&pktbuf;
|