Searched refs:pkt_data (Results 1 – 9 of 9) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | kfree_skb.c | 68 unsigned short pkt_data; in BPF_PROG() local 92 bpf_probe_read_kernel(&pkt_data, sizeof(pkt_data), data + 12); in BPF_PROG() 99 meta.ifindex, data, pkt_data); in BPF_PROG() 102 if (users != 1 || pkt_data != bpf_htons(0x86dd) || meta.ifindex != 1) in BPF_PROG()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_winpcap.c | 103 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()
|
D | l2_packet_pcap.c | 148 const u_char *pkt_data) in l2_packet_receive_cb() argument 155 if (!l2->rx_callback || !pkt_data || hdr->caplen < sizeof(*ethhdr)) in l2_packet_receive_cb() 158 ethhdr = (struct l2_ethhdr *) pkt_data; in l2_packet_receive_cb()
|
/external/scapy/scapy/arch/ |
D | pcapdnet.py | 140 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/ |
D | pcap-rpcap.c | 388 static int pcap_read_nocb_remote(pcap_t *p, struct pcap_pkthdr *pkt_header, u_char **pkt_data) in pcap_read_nocb_remote() argument 594 *pkt_data = net_pkt_data; in pcap_read_nocb_remote() 631 u_char *pkt_data; in pcap_read_rpcap() local 686 ret = pcap_read_nocb_remote(p, &pkt_header, &pkt_data); in pcap_read_rpcap() 697 &pkt_header, pkt_data); in pcap_read_rpcap() 698 (*callback)(user, &pkt_header, pkt_data); in pcap_read_rpcap()
|
D | pcap.c | 594 const u_char **pkt_data) in pcap_next_ex() argument 599 s.pkt = pkt_data; in pcap_next_ex() 3835 …ndqueue_queue(pcap_send_queue *queue, const struct pcap_pkthdr *pkt_header, const u_char *pkt_data) argument 3846 memcpy(queue->buffer + queue->len, pkt_data, pkt_header->caplen);
|
/external/libpcap/pcap/ |
D | pcap.h | 812 …dqueue_queue(pcap_send_queue* queue, const struct pcap_pkthdr *pkt_header, const u_char *pkt_data);
|
/external/libpcap/rpcapd/ |
D | daemon.c | 2611 u_char *pkt_data; // pointer to the buffer that contains the current packet in daemon_thrdatamain() local 2698 …retval = pcap_next_ex(session->fp, &pkt_header, (const u_char **) &pkt_data); // cast to avoid a c… in daemon_thrdatamain() 2751 if (sock_bufferize((char *) pkt_data, pkt_header->caplen, in daemon_thrdatamain()
|
/external/scapy/test/ |
D | pptp.uts | 56 pkt_data = raw(pkt) 59 assert (pkt_data == pkt_data_ref)
|