pcap_fileno.3pcap (214518) | pcap_fileno.3pcap (235426) |
---|---|
1.\" @(#) $Header: /tcpdump/master/libpcap/pcap_fileno.3pcap,v 1.3 2008-04-06 02:53:22 guy Exp $ 2.\" 3.\" Copyright (c) 1994, 1996, 1997 4.\" The Regents of the University of California. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that: (1) source code distributions 8.\" retain the above copyright notice and this paragraph in its entirety, (2) --- 33 unchanged lines hidden (view full) --- 42.BR pcap_activate() , 43or using 44.BR pcap_open_live() , 45.B pcap_fileno() 46returns the file descriptor from which captured packets are read. 47.LP 48If 49.I p | 1.\" @(#) $Header: /tcpdump/master/libpcap/pcap_fileno.3pcap,v 1.3 2008-04-06 02:53:22 guy Exp $ 2.\" 3.\" Copyright (c) 1994, 1996, 1997 4.\" The Regents of the University of California. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that: (1) source code distributions 8.\" retain the above copyright notice and this paragraph in its entirety, (2) --- 33 unchanged lines hidden (view full) --- 42.BR pcap_activate() , 43or using 44.BR pcap_open_live() , 45.B pcap_fileno() 46returns the file descriptor from which captured packets are read. 47.LP 48If 49.I p |
50refers to a ``savefile'' that was opened using fuctions such as | 50refers to a ``savefile'' that was opened using functions such as |
51.BR pcap_open_offline() 52or 53.BR pcap_fopen_offline() , 54a ``dead'' 55.B pcap_t 56opened using 57.BR pcap_open_dead() , 58or a 59.B pcap_t 60that was created with 61.B pcap_create() 62but that has not yet been activated with 63.BR pcap_activate() , 64it returns \-1. 65.SH SEE ALSO 66pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP), 67pcap_open_live(3PCAP), pcap_open_offline(3PCAP), 68pcap_fopen_offline(3PCAP), pcap_open_dead(3PCAP) | 51.BR pcap_open_offline() 52or 53.BR pcap_fopen_offline() , 54a ``dead'' 55.B pcap_t 56opened using 57.BR pcap_open_dead() , 58or a 59.B pcap_t 60that was created with 61.B pcap_create() 62but that has not yet been activated with 63.BR pcap_activate() , 64it returns \-1. 65.SH SEE ALSO 66pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP), 67pcap_open_live(3PCAP), pcap_open_offline(3PCAP), 68pcap_fopen_offline(3PCAP), pcap_open_dead(3PCAP) |