-
公开(公告)号:US20190065291A1
公开(公告)日:2019-02-28
申请号:US16176694
申请日:2018-10-31
Applicant: Juniper Networks, Inc.
Inventor: Erin C. MACNEIL , Hariprasad SHANMUGAM , Sreekanth RUPAVATHARAM
IPC: G06F9/54
CPC classification number: G06F9/545
Abstract: A device may receive, by a kernel of the device and from a loadable kernel module of the device, information that instructs the kernel to invoke a callback function associated with the loadable kernel module based on an execution of a hook of the kernel. The device may receive, by the kernel of the device and from an application of the device, a socket application programming interface (API) call. The socket API call may include control information. The device may execute, by the kernel of the device, the hook based on receiving the socket API call. The device may invoke, by the kernel of the device, the callback function associated with the loadable kernel module based on executing the hook to permit a functionality associated with the callback function to be provided. The kernel may provide the control information, associated with the socket API call, to the callback function as an argument.