diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-03-21 07:59:12 -0400 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-03-21 13:40:29 -0600 |
commit | d4fcf196a20b3141a10c0cd5b84f09b367e8f7e3 (patch) | |
tree | 1954a3c6d921d3c1c1eb9146bcd719c9d4c7fc74 /include/asterisk/res_hep.h | |
parent | f5603cb1ece5001d1288004c9bc6ed51448deb81 (diff) |
res_hep: Capture actual transport type in use
Rather than hard-coding UDP, allow consumers of the HEP API to specify
which protocol is in use. Update the PJSIP provider to pass in the
current protocol type.
ASTERISK-26850 #close
Change-Id: I54bbb0a001cfe4c6a87ad4b6f2014af233349978
Diffstat (limited to 'include/asterisk/res_hep.h')
-rw-r--r-- | include/asterisk/res_hep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/res_hep.h b/include/asterisk/res_hep.h index cfd213ad7..dba86e88b 100644 --- a/include/asterisk/res_hep.h +++ b/include/asterisk/res_hep.h @@ -72,6 +72,8 @@ struct hepv3_capture_info { size_t len; /*! If non-zero, the payload accompanying this capture info will be compressed */ unsigned int zipped:1; + /*! The IPPROTO_* protocol where we captured the packet */ + int protocol_id; }; /*! |