packet.7: Fix comment on 'sll_hatype' field

Reported-by: Iain Fraser <iainkfraser@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-03-06 10:35:30 +13:00
parent 88ea664e34
commit ed924588d8
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
.\" and in case of nontrivial modification author and date
.\" of the modification is added to the header.
.\" $Id: packet.7,v 1.13 2000/08/14 08:03:45 ak Exp $
.TH PACKET 7 2008-08-08 "Linux" "Linux Programmer's Manual"
.TH PACKET 7 2012-02-06 "Linux" "Linux Programmer's Manual"
.SH NAME
packet, AF_PACKET \- packet interface on device level.
.SH SYNOPSIS
@ -111,7 +111,7 @@ struct sockaddr_ll {
unsigned short sll_family; /* Always AF_PACKET */
unsigned short sll_protocol; /* Physical layer protocol */
int sll_ifindex; /* Interface number */
unsigned short sll_hatype; /* Header type */
unsigned short sll_hatype; /* ARP hardware type */
unsigned char sll_pkttype; /* Packet type */
unsigned char sll_halen; /* Length of address */
unsigned char sll_addr[8]; /* Physical layer address */