[NETFILTER]: netfilter misc annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -46,11 +46,11 @@ struct arpt_arp {
|
||||
struct arpt_devaddr_info tgt_devaddr;
|
||||
|
||||
/* ARP operation code. */
|
||||
u_int16_t arpop, arpop_mask;
|
||||
__be16 arpop, arpop_mask;
|
||||
|
||||
/* ARP hardware address and protocol address format. */
|
||||
u_int16_t arhrd, arhrd_mask;
|
||||
u_int16_t arpro, arpro_mask;
|
||||
__be16 arhrd, arhrd_mask;
|
||||
__be16 arpro, arpro_mask;
|
||||
|
||||
/* The protocol address length is only accepted if it is 4
|
||||
* so there is no use in offering a way to do filtering on it.
|
||||
|
||||
@@ -26,7 +26,7 @@ typedef struct ipq_packet_msg {
|
||||
unsigned int hook; /* Netfilter hook we rode in on */
|
||||
char indev_name[IFNAMSIZ]; /* Name of incoming interface */
|
||||
char outdev_name[IFNAMSIZ]; /* Name of outgoing interface */
|
||||
unsigned short hw_protocol; /* Hardware protocol (network order) */
|
||||
__be16 hw_protocol; /* Hardware protocol (network order) */
|
||||
unsigned short hw_type; /* Hardware type */
|
||||
unsigned char hw_addrlen; /* Hardware address length */
|
||||
unsigned char hw_addr[8]; /* Hardware address */
|
||||
|
||||
Reference in New Issue
Block a user