Skip to content

Commit 2b6ffbc

Browse files
add a link
1 parent ea95559 commit 2b6ffbc

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

docs/XDP.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ MsQuic version v2.5 (and below) currently serves 2 simultaneous roles:
160160
- AF_XDP socket creator and user
161161
- Privileged XDP rule setter
162162

163-
MsQuic version v2.6 (and beyond) will begin to leverage XDP maps, and expose APIs for applications wishing to harden their security
163+
MsQuic version v2.6 (and beyond) implements integration of XDP maps, and expose APIs for applications wishing to harden their security
164164
posture and reduce their threat surface by de-coupling.
165165

166166
The intention with de-coupling is to have a trusted process create rules and maps, isolating the untrusted process(es) from each other and the rest of the system.
@@ -174,8 +174,8 @@ Find it in the [Global Parameters](./Settings.md#global-parameters) table.
174174

175175
### Usage example
176176

177-
Below is the general skeleton for XDP map usage with MsQuic.
178-
For a detailed comprehensive example, see [this sample](https://TODO_jackhe_fix_this)
177+
The code below is a TL;DR outline of XDP map usage in MsQuic.
178+
For a detailed comprehensive example, see [this sample.](https://github.com/microsoft/msquic/tree/main/src/tools/quicxdpmapsample)
179179

180180
```c
181181
//
@@ -198,9 +198,6 @@ DuplicateHandleAndShareWithConsumer(XskMap);
198198
//
199199
// MsQuic AF_XDP socket consumer
200200
//
201-
// (maybe in another, less trusted process...
202-
// or, in the same trusted process...)
203-
//
204201

205202
QUIC_XDP_MAP_HANDLE XskMap = GetMapHandleFromSomewhere();
206203

0 commit comments

Comments
 (0)