Home
last modified time | relevance | path

Searched refs:pcap (Results 1 – 25 of 33) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/
Dl2_packet_pcap.c27 pcap_t *pcap; member
89 ret = pcap_sendpacket(l2->pcap, buf, len); in l2_packet_send()
105 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); in l2_packet_send()
121 pcap_t *pcap = sock_ctx; in l2_packet_receive() local
128 packet = pcap_next(pcap, &hdr); in l2_packet_receive()
178 pcap_t *pcap = timeout_ctx; in l2_packet_receive_timeout() local
191 l2, pcap); in l2_packet_receive_timeout()
192 pcap_dispatch(pcap, 10, l2_packet_receive_cb, (u_char *) l2); in l2_packet_receive_timeout()
208 l2->pcap = pcap_open_live(ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap()
209 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
[all …]
Dl2_packet_freebsd.c37 pcap_t *pcap; member
67 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth)); in l2_packet_send()
71 return pcap_inject(l2->pcap, buf, len); in l2_packet_send()
78 pcap_t *pcap = sock_ctx; in l2_packet_receive() local
85 packet = pcap_next(pcap, &hdr); in l2_packet_receive()
110 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap()
111 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
116 if (pcap_datalink(l2->pcap) != DLT_EN10MB && in l2_packet_init_libpcap()
117 pcap_set_datalink(l2->pcap, DLT_EN10MB) < 0) { in l2_packet_init_libpcap()
119 pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
[all …]
Dl2_packet_winpcap.c48 pcap_t *pcap; member
82 ret = pcap_sendpacket(l2->pcap, buf, len); in l2_packet_send()
93 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); in l2_packet_send()
133 pcap_dispatch(l2->pcap, 1, l2_packet_receive_cb, in l2_packet_receive_thread()
169 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 1, pcap_err); in l2_packet_init_libpcap()
170 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
182 if (pcap_compile(l2->pcap, &pcap_fp, pcap_filter, 1, pcap_netp) < 0) { in l2_packet_init_libpcap()
183 fprintf(stderr, "pcap_compile: %s\n", pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
187 if (pcap_setfilter(l2->pcap, &pcap_fp) < 0) { in l2_packet_init_libpcap()
188 fprintf(stderr, "pcap_setfilter: %s\n", pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
Dl2_packet_pcap.c27 pcap_t *pcap; member
89 ret = pcap_sendpacket(l2->pcap, buf, len); in l2_packet_send()
105 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); in l2_packet_send()
121 pcap_t *pcap = sock_ctx; in l2_packet_receive() local
128 packet = pcap_next(pcap, &hdr); in l2_packet_receive()
178 pcap_t *pcap = timeout_ctx; in l2_packet_receive_timeout() local
191 l2, pcap); in l2_packet_receive_timeout()
192 pcap_dispatch(pcap, 10, l2_packet_receive_cb, (u_char *) l2); in l2_packet_receive_timeout()
208 l2->pcap = pcap_open_live(ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap()
209 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
[all …]
Dl2_packet_freebsd.c37 pcap_t *pcap; member
67 ret = pcap_inject(l2->pcap, (u8 *) eth, len + sizeof(*eth)); in l2_packet_send()
71 return pcap_inject(l2->pcap, buf, len); in l2_packet_send()
78 pcap_t *pcap = sock_ctx; in l2_packet_receive() local
85 packet = pcap_next(pcap, &hdr); in l2_packet_receive()
110 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap()
111 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
116 if (pcap_datalink(l2->pcap) != DLT_EN10MB && in l2_packet_init_libpcap()
117 pcap_set_datalink(l2->pcap, DLT_EN10MB) < 0) { in l2_packet_init_libpcap()
119 pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
[all …]
Dl2_packet_winpcap.c48 pcap_t *pcap; member
82 ret = pcap_sendpacket(l2->pcap, buf, len); in l2_packet_send()
93 ret = pcap_sendpacket(l2->pcap, (u8 *) eth, mlen); in l2_packet_send()
133 pcap_dispatch(l2->pcap, 1, l2_packet_receive_cb, in l2_packet_receive_thread()
169 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 1, pcap_err); in l2_packet_init_libpcap()
170 if (l2->pcap == NULL) { in l2_packet_init_libpcap()
182 if (pcap_compile(l2->pcap, &pcap_fp, pcap_filter, 1, pcap_netp) < 0) { in l2_packet_init_libpcap()
183 fprintf(stderr, "pcap_compile: %s\n", pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
187 if (pcap_setfilter(l2->pcap, &pcap_fp) < 0) { in l2_packet_init_libpcap()
188 fprintf(stderr, "pcap_setfilter: %s\n", pcap_geterr(l2->pcap)); in l2_packet_init_libpcap()
[all …]
/third_party/lwip/test/fuzz/
Doutput_to_pcap.sh13 PCAPNAME=`echo $i | grep pcap`
16 text2pcap $1/$$.tmp ${i}.pcap
21 PCAPNAME=`echo $i | grep pcap`
24 text2pcap $1/$$.tmp ${i}.pcap
31 ls $1/*/*.pcap
DREADME31 running output_to_pcap.sh <outputdir> will create pcap files for each input
/third_party/ltp/testcases/kernel/security/filecaps/
Dverify_caps_exec.c213 cap_t fcap, pcap, cap_fullpi; in caps_actually_set_test() local
218 pcap = cap_init(); in caps_actually_set_test()
219 if (!fcap || !pcap) { in caps_actually_set_test()
289 cap_free(pcap); in caps_actually_set_test()
324 pcap = cap_dup(cap_fullpi); in caps_actually_set_test()
326 cap_set_flag(pcap, CAP_PERMITTED, 1, capvalue, CAP_SET); in caps_actually_set_test()
336 ret = fork_drop_and_exec(KEEP_PERMS, pcap); in caps_actually_set_test()
354 cap_set_flag(pcap, CAP_EFFECTIVE, 1, capvalue, CAP_SET); in caps_actually_set_test()
379 cap_clear(pcap); in caps_actually_set_test()
380 ret = fork_drop_and_exec(DROP_PERMS, pcap); in caps_actually_set_test()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/utils/
Dlog2pcap.py29 pcap = sys.argv[2] variable
35 pcap_file = open(pcap, 'w')
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/utils/
Dlog2pcap.py29 pcap = sys.argv[2] variable
35 pcap_file = open(pcap, 'w')
/third_party/mbedtls/programs/fuzz/
DREADME.md51 …m one against the other with `reproducible` option turned on while capturing traffic into test.pcap
52 … for instance with tshark : `tshark -Tfields -e tcp.dstport -e tcp.payload -r test.pcap > test.txt`
/third_party/mesa3d/src/gallium/frontends/nine/
Dadapter9.c579 #define D3DPIPECAP(pcap, d3dcap) \ in NineAdapter9_GetDeviceCaps() argument
580 (screen->get_param(screen, PIPE_CAP_##pcap) ? (d3dcap) : 0) in NineAdapter9_GetDeviceCaps()
582 #define D3DNPIPECAP(pcap, d3dcap) \ in NineAdapter9_GetDeviceCaps() argument
583 (screen->get_param(screen, PIPE_CAP_##pcap) ? 0 : (d3dcap)) in NineAdapter9_GetDeviceCaps()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/
DFeatureTag.java98 pcap("Petite Capitals"), enumConstant
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddrivers.mk121 CONFIG_L2_PACKET=pcap
Ddrivers.mak130 CONFIG_L2_PACKET=pcap
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddrivers.mk118 CONFIG_L2_PACKET=pcap
Ddrivers.mak126 CONFIG_L2_PACKET=pcap
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafstyles.h63 STYLE_LATIN( s, S, pcap, PCAP, ds, \
/third_party/rust/crates/nom/
DREADME.md297 [Pcap](https://github.com/ithinuel/pcap-rs),
298 [Pcap + PcapNG](https://github.com/rusticata/pcap-parser),
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dandroid.config263 # pcap = libpcap/libdnet/WinPcap
Ddefconfig300 # pcap = libpcap/libdnet/WinPcap
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dandroid.config263 # pcap = libpcap/libdnet/WinPcap
Ddefconfig300 # pcap = libpcap/libdnet/WinPcap
D.config299 # pcap = libpcap/libdnet/WinPcap

12