| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In gen_scode() make any id invalid DECnet address. In gen_ncode() make
{N} invalid DECnet address. In __pcap_atodn() replace sscanf() with an
FSM to parse the entire input string and to require a valid nominal
DECnet address syntax. Remove __pcap_nametodnaddr(), which worked on
Ultrix only. Add various comments to explain the context better. In
pcap-filter(3PCAP) clarify the nominal DECnet address syntax and remove
mentions of the host name translation.
Before:
filtertest: decnet name support not included, 'abc' cannot be translated
1 -- no error
100.2000 -- no error
1.2.3 -- no error
1.2.3.4 -- no error
After:
filtertest: invalid DECnet address 'abc'
filtertest: invalid DECnet address '1'
filtertest: invalid DECnet address '100.2000'
filtertest: invalid DECnet address '1.2.3'
filtertest: invalid DECnet address '1.2.3.4'
|
|
|
|
|
|
|
| |
This reverts commit 8b6b13d4cbb685db047af04c49817ed81fff7c35.
That solution allowed you to intermix declarations/definitions and
before the extern "C", so you can see what's being imported.
|
|
|
|
|
|
|
|
|
|
|
| |
Instead, explictly flag individual functions with extern "C" by adding
it to the tag we're already using for exported functions, and creating a
new tag to use for non-exported functions.
Rename those tags, and the tags used for exported data, to say what they
do, rather than saying "this is an API" (we may export things we don't
want to be treated as part of the API, but that we have to export
because some programs use them).
|
|
|
|
|
|
|
|
| |
This allows multiple pcap_compile() calls to be in progress on different
pcap_t's in different threads.
(No, you can't count on that behavior in older versions of libpcap, so
only do that if you know you're using a newer version of libpcap.)
|
|
|