Home
last modified time | relevance | path

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

/dragonfly/libexec/bootpd/bootpgw/
H A Dbootpgw.c132 char *pktbuf; /* Receive packet buffer */ variable
182 pktbuf = malloc(MAX_MSG_SIZE); in main()
183 if (!pktbuf) { in main()
187 bp = (struct bootp *) pktbuf; in main()
456 n = recvfrom(s, pktbuf, MAX_MSG_SIZE, 0, in main()
516 struct bootp *bp = (struct bootp *) pktbuf; in handle_request()
591 if (sendto(s, pktbuf, pktlen, 0, in handle_request()
607 struct bootp *bp = (struct bootp *) pktbuf; in handle_reply()
656 if (sendto(s, pktbuf, pktlen, 0, in handle_reply()
/dragonfly/libexec/bootpd/
H A Dbootpd.c152 char *pktbuf; /* Receive packet buffer */ variable
212 pktbuf = malloc(MAX_MSG_SIZE); in main()
213 if (!pktbuf) { in main()
217 bp = (struct bootp *) pktbuf; in main()
539 n = recvfrom(s, pktbuf, MAX_MSG_SIZE, 0, in main()
620 struct bootp *bp = (struct bootp *) pktbuf; in handle_request()
1009 struct bootp *bp = (struct bootp *) pktbuf; in sendreply()
1097 if (sendto(s, pktbuf, pktlen, 0, in sendreply()
/dragonfly/sys/netgraph7/cisco/
H A Dng_cisco.c471 struct cisco_packet pktbuf; in cisco_input() local
483 m_copydata(m, 0, sizeof(*p), &pktbuf); in cisco_input()
484 p = &pktbuf; in cisco_input()
/dragonfly/sys/netgraph/cisco/
H A Dng_cisco.c478 struct cisco_packet pktbuf; in cisco_input() local
490 m_copydata(m, 0, sizeof(*p), &pktbuf); in cisco_input()
491 p = &pktbuf; in cisco_input()
/dragonfly/sys/bus/firewire/
H A Dfwohci.c2675 struct fw_pkt pktbuf; local
2728 p = (char *)&pktbuf;
2732 rlen = sizeof(pktbuf) - rlen;
2738 hlen = fwohci_arcv_swap(&pktbuf, sizeof(pktbuf));
2742 offset = sizeof(pktbuf);
2743 vec[0].iov_base = (char *)&pktbuf;