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 15:40:08 -0400 |
commit | 218f618095f5985a00748d8107b6afadd00b71fa (patch) | |
tree | 38bfcacfb15e121dbf63486d2dcf8031dde50296 /include/asterisk/res_hep.h | |
parent | fdea3698527495c940e03a45df03621c7a9a876c (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; }; /*! |