Home
last modified time | relevance | path

Searched refs:pkt_data (Results 1 – 9 of 9) sorted by relevance

/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_winpcap.c103 const u_char *pkt_data) in l2_packet_receive_cb() argument
108 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) in l2_packet_receive_cb()
111 ethhdr = (struct l2_ethhdr *) pkt_data; in l2_packet_receive_cb()
Dl2_packet_pcap.c148 const u_char *pkt_data) in l2_packet_receive_cb() argument
155 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr)) in l2_packet_receive_cb()
158 ethhdr = (struct l2_ethhdr *) pkt_data; in l2_packet_receive_cb()
/external/u-boot/drivers/usb/eth/
Dasix88179.c209 uint8_t *pkt_data; member
765 priv->pkt_data = NULL; in ax88179_eth_stop()
825 priv->pkt_data = ptr; in ax88179_eth_recv()
834 *packetp = priv->pkt_data + 2; in ax88179_eth_recv()
836 priv->pkt_data += (pkt_len + 7) & 0xFFF8; in ax88179_eth_recv()
/external/scapy/scapy/arch/
Dpcapdnet.py140 self.pkt_data = POINTER(c_ubyte)()
143 c = pcap_next_ex(self.pcap, byref(self.header), byref(self.pkt_data))
147 pkt = b"".join(chb(i) for i in self.pkt_data[:self.header.contents.len])
/external/libpcap/
Dpcap-rpcap.c372 static int pcap_read_nocb_remote(pcap_t *p, struct pcap_pkthdr *pkt_header, u_char **pkt_data) in pcap_read_nocb_remote() argument
566 *pkt_data = net_pkt_data; in pcap_read_nocb_remote()
603 u_char *pkt_data; in pcap_read_rpcap() local
643 ret = pcap_read_nocb_remote(p, &pkt_header, &pkt_data); in pcap_read_rpcap()
650 (*callback)(user, &pkt_header, pkt_data); in pcap_read_rpcap()
Dpcap.c362 const u_char **pkt_data) in pcap_next_ex() argument
367 s.pkt = pkt_data; in pcap_next_ex()
3463 …ndqueue_queue(pcap_send_queue *queue, const struct pcap_pkthdr *pkt_header, const u_char *pkt_data)
3474 memcpy(queue->buffer + queue->len, pkt_data, pkt_header->caplen);
/external/libpcap/pcap/
Dpcap.h569 …dqueue_queue(pcap_send_queue* queue, const struct pcap_pkthdr *pkt_header, const u_char *pkt_data);
/external/libpcap/rpcapd/
Ddaemon.c2232 u_char *pkt_data; // pointer to the buffer that contains the current packet in daemon_thrdatamain() local
2303 …while ((retval = pcap_next_ex(session->fp, &pkt_header, (const u_char **) &pkt_data)) >= 0) // cas… in daemon_thrdatamain()
2345 if (sock_bufferize((char *) pkt_data, pkt_header->caplen, in daemon_thrdatamain()
/external/scapy/test/
Dpptp.uts56 pkt_data = raw(pkt)
59 assert (pkt_data == pkt_data_ref)