Invention Grant
- Patent Title: Virtual routing and forwarding (VRF)-aware socket
-
Application No.: US16229112Application Date: 2018-12-21
-
Publication No.: US11329959B2Publication Date: 2022-05-10
- Inventor: Yixin Pan
- Applicant: Fortinet, Inc.
- Applicant Address: US CA Sunnyvale
- Assignee: Fortinet, Inc.
- Current Assignee: Fortinet, Inc.
- Current Assignee Address: US CA Sunnyvale
- Agency: Law Office Of Dorian Cartwright
- Agent Dorian Cartwright
- Main IPC: G06F15/16
- IPC: G06F15/16 ; H04L29/06 ; H04L61/4511 ; H04L69/16 ; H04L45/745 ; H04L45/586

Abstract:
Systems and methods for a VRF-aware socket are provided. According to one embodiment, a user-space application of a network device, maintaining a virtual routing table for each of multiple VRF domains, creates a VRF-aware listening socket. The socket includes information regarding: (i) which of the virtual routing tables is to be used to look up routing or forwarding information for outgoing traffic; (ii) the VRF domain(s) from which the socket is able to receive incoming traffic; and/or (iii) the last VRF domain from which the socket read data. The socket is configured to be a super-VRF listening socket capable of receiving incoming traffic from all VRF domains by setting its VRF domain(s) to a wildcard value. The super-VRF listening socket then receives from a client device associated with a first VRF domain of the multiple VRF domains a request on behalf of the user-space application.
Information query