Searched refs:pktbuf (Results 1 - 5 of 5) sorted by relevance

/freebsd-9.3-release/libexec/bootpd/bootpgw/
H A Dbootpgw.c134 char *pktbuf; /* Receive packet buffer */
187 pktbuf = malloc(MAX_MSG_SIZE);
188 if (!pktbuf) {
192 bp = (struct bootp *) pktbuf;
461 n = recvfrom(s, pktbuf, MAX_MSG_SIZE, 0,
523 struct bootp *bp = (struct bootp *) pktbuf;
598 if (sendto(s, pktbuf, pktlen, 0,
615 struct bootp *bp = (struct bootp *) pktbuf;
664 if (sendto(s, pktbuf, pktlen, 0,
133 char *pktbuf; /* Receive packet buffer */ variable
/freebsd-9.3-release/contrib/ofed/management/libibmad/src/
H A Dserv.c56 uint8_t pktbuf[1024]; local
57 void *umad = pktbuf;
59 memset(pktbuf, 0, umad_size());
/freebsd-9.3-release/libexec/bootpd/
H A Dbootpd.c153 char *pktbuf; /* Receive packet buffer */
218 pktbuf = malloc(MAX_MSG_SIZE);
219 if (!pktbuf) {
223 bp = (struct bootp *) pktbuf;
546 n = recvfrom(s, pktbuf, MAX_MSG_SIZE, 0,
632 struct bootp *bp = (struct bootp *) pktbuf;
1024 struct bootp *bp = (struct bootp *) pktbuf;
1112 if (sendto(s, pktbuf, pktlen, 0,
152 char *pktbuf; /* Receive packet buffer */ variable
/freebsd-9.3-release/sys/netgraph/
H A Dng_cisco.c482 struct cisco_packet pktbuf; local
494 m_copydata(m, 0, sizeof(*p), (caddr_t)&pktbuf);
495 p = &pktbuf;
/freebsd-9.3-release/sys/dev/firewire/
H A Dfwohci.c2747 struct fw_pkt pktbuf; local
2809 p = (char *)&pktbuf;
2813 rlen = sizeof(pktbuf) - rlen;
2819 hlen = fwohci_arcv_swap(&pktbuf, sizeof(pktbuf));
2824 offset = sizeof(pktbuf);
2825 vec[0].iov_base = (char *)&pktbuf;

Completed in 124 milliseconds