| .. | .. |
|---|
| 433 | 433 | application to use. The final option is the flags field, but it will |
|---|
| 434 | 434 | be dealt with in separate sections for each UMEM flag. |
|---|
| 435 | 435 | |
|---|
| 436 | +SO_BINDTODEVICE setsockopt |
|---|
| 437 | +-------------------------- |
|---|
| 438 | + |
|---|
| 439 | +This is a generic SOL_SOCKET option that can be used to tie AF_XDP |
|---|
| 440 | +socket to a particular network interface. It is useful when a socket |
|---|
| 441 | +is created by a privileged process and passed to a non-privileged one. |
|---|
| 442 | +Once the option is set, kernel will refuse attempts to bind that socket |
|---|
| 443 | +to a different interface. Updating the value requires CAP_NET_RAW. |
|---|
| 444 | + |
|---|
| 436 | 445 | XDP_STATISTICS getsockopt |
|---|
| 437 | 446 | ------------------------- |
|---|
| 438 | 447 | |
|---|