diff options
Diffstat (limited to 'man7/packet.7')
| -rw-r--r-- | man7/packet.7 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/man7/packet.7 b/man7/packet.7 index aa47329980..917a885f0c 100644 --- a/man7/packet.7 +++ b/man7/packet.7 @@ -105,7 +105,7 @@ even when it is longer than the buffer. .SS Address Types The sockaddr_ll is a device independent physical layer address. -.in +0.25i +.in +4n .nf struct sockaddr_ll { unsigned short sll_family; /* Always AF_PACKET */ @@ -117,7 +117,7 @@ struct sockaddr_ll { unsigned char sll_addr[8]; /* Physical layer address */ }; .fi -.in -0.25i +.in .I sll_protocol is the standard ethernet protocol type in network order as defined @@ -187,7 +187,7 @@ They both expect a .B packet_mreq structure as argument: -.in +0.25i +.in +4n .nf struct packet_mreq { int mr_ifindex; /* interface index */ @@ -196,7 +196,7 @@ struct packet_mreq { unsigned char mr_address[8]; /* physical layer address */ }; .fi -.in -0.25i +.in .B mr_ifindex contains the interface index for the interface whose status @@ -284,7 +284,7 @@ The include file is present since glibc 2.1. Older systems need: .sp -.in +0.5i +.in +4n .nf #include <asm/types.h> #include <linux/if_packet.h> @@ -333,7 +333,7 @@ uses the old to specify an interface, which doesn't provide physical layer independence. -.in +0.25i +.in +4n .nf struct sockaddr_pkt { unsigned short spkt_family; @@ -341,7 +341,7 @@ struct sockaddr_pkt { unsigned short spkt_protocol; }; .fi -.in -0.25i +.in .I spkt_family contains @@ -358,7 +358,7 @@ This structure is obsolete and should not be used in new code. glibc 2.1 does not have a define for .BR SOL_PACKET . The suggested workaround is to use: -.in +0.5i +.in +4n .nf #ifndef SOL_PACKET @@ -366,7 +366,7 @@ The suggested workaround is to use: #endif .fi -.in -0.5i +.in This is fixed in later glibc versions and also does not occur on libc5 systems. |
