diff options
author | guy <guy> | 2005-03-17 07:02:31 +0000 |
---|---|---|
committer | guy <guy> | 2005-03-17 07:02:31 +0000 |
commit | afe114b0708f5986a90de7329360d3ec328b20a4 (patch) | |
tree | 992bb4ee089382c1e4ea3dad502b527a36639923 /pcap-namedb.h | |
parent | 16889bae3e84aaaf62e2c9f6dd478fdadbb953f1 (diff) | |
download | libpcap-afe114b0708f5986a90de7329360d3ec328b20a4.tar.gz |
For "ether proto", allow LLC value names as well as Ethernet type value
names, so that, as the tcpdump man page claims to be the case, "ether
proto \{iso,stp,ipx,netbeui}" are equivalent to "{iso,stp,ipx,netbeui}".
Diffstat (limited to 'pcap-namedb.h')
-rw-r--r-- | pcap-namedb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pcap-namedb.h b/pcap-namedb.h index 8ecd9e1f..ba02ee0f 100644 --- a/pcap-namedb.h +++ b/pcap-namedb.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#) $Header: /tcpdump/master/libpcap/pcap-namedb.h,v 1.9 2004-12-19 19:48:37 guy Exp $ (LBL) + * @(#) $Header: /tcpdump/master/libpcap/pcap-namedb.h,v 1.10 2005-03-17 07:02:32 guy Exp $ (LBL) */ #ifndef lib_pcap_namedb_h @@ -67,6 +67,7 @@ bpf_u_int32 pcap_nametonetaddr(const char *); int pcap_nametoport(const char *, int *, int *); int pcap_nametoproto(const char *); int pcap_nametoeproto(const char *); +int pcap_nametollc(const char *); /* * If a protocol is unknown, PROTO_UNDEF is returned. * Also, pcap_nametoport() returns the protocol along with the port number. |