diff options
Diffstat (limited to 'man/man7/socket.7')
| -rw-r--r-- | man/man7/socket.7 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/man/man7/socket.7 b/man/man7/socket.7 index 5b45e4cdf3..2527b4003b 100644 --- a/man/man7/socket.7 +++ b/man/man7/socket.7 @@ -313,10 +313,10 @@ or an extended BPF program to the socket for use as a filter of incoming packets. A packet will be dropped if the filter program returns zero. If the filter program returns a -nonzero value which is less than the packet's data length, -the packet will be truncated to the length returned. +nonzero value which is less than the packet's data size, +the packet will be truncated to the size returned. If the value returned by the filter is greater than or equal to the -packet's data length, the packet is allowed to proceed unmodified. +packet's data size, the packet is allowed to proceed unmodified. .IP The argument for .B SO_ATTACH_FILTER @@ -402,9 +402,9 @@ TCP support is available since Linux 4.6. Bind this socket to a particular device like \[lq]eth0\[rq], as specified in the passed interface name. If the -name is an empty string or the option length is zero, the socket device +name is an empty string or the option size is zero, the socket device binding is removed. -The passed option is a variable-length null-terminated +The passed option is a variable-size null-terminated interface name string with the maximum size of .BR IFNAMSIZ . If a socket is bound to an interface, @@ -1132,7 +1132,7 @@ caused by external network events. Maximum number of packets in the global input queue. .TP .I optmem_max -Maximum length of ancillary data and user control data like the iovecs +Maximum size of ancillary data and user control data like the iovecs per socket. .\" netdev_fastroute is not documented because it is experimental .SS Ioctls |
