diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-09-26 05:08:19 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-09-27 02:43:33 +0900 |
commit | a6dce73e3399b5c50a0adf8be8fb77ac69fb5c07 (patch) | |
tree | 9a15ad1f5f0a38efbd37864a8d139df031b6bd55 /MANIFEST.in | |
parent | 239f4c7122f52e1b5622c55686da8b6e4e4ed9f9 (diff) |
packet lib: add get_protocol API
get_protocols returns the list of protocols. This is useful for a
packet including the same protocol multiple times (e.g. tunneling such
GRE). However, it's a rare use case. Instead of
'get_protocols(hoge)[0]', let's do 'get_protocol(hoge)' simply.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'MANIFEST.in')
0 files changed, 0 insertions, 0 deletions