1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #ifndef HEADER_INSERTION_H_
- #define HEADER_INSERTION_H_
- #include <stdint.h>
- #include "linux/msm_ipa.h"
- class HeaderInsertion
- {
- private:
- int m_fd;
- public:
- bool AddHeader(struct ipa_ioc_add_hdr *pHeaderTable);
- bool DeleteHeader(struct ipa_ioc_del_hdr *pHeaderTable);
- bool GetHeaderHandle(struct ipa_ioc_get_hdr *pHeaderStruct);
- bool CopyHeader(struct ipa_ioc_copy_hdr *pCopyHeaderStruct);
-
- bool AddProcCtx(struct ipa_ioc_add_hdr_proc_ctx *procCtxTable);
- bool DeleteProcCtx(struct ipa_ioc_del_hdr_proc_ctx *procCtxTable);
- bool Commit();
- bool Reset();
- HeaderInsertion();
- ~HeaderInsertion();
- bool DeviceNodeIsOpened();
- };
- #endif
|