Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2007 03:52:57 GMT
From:      Sepherosa Ziehau <sephe@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 119744 for review
Message-ID:  <200705130352.l4D3qv69029119@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=119744

Change 119744 by sephe@sephe_zealot:sam_wifi on 2007/05/13 03:52:20

	u_intX_t -> uintX_t
	
	Approved by:	sam

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211_acl.c#7 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211_acl.c#7 (text+ko) ====

@@ -70,7 +70,7 @@
 struct acl {
 	TAILQ_ENTRY(acl)	acl_list;
 	LIST_ENTRY(acl)		acl_hash;
-	u_int8_t		acl_macaddr[IEEE80211_ADDR_LEN];
+	uint8_t			acl_macaddr[IEEE80211_ADDR_LEN];
 };
 struct aclstate {
 	acl_lock_t		as_lock;
@@ -83,7 +83,7 @@
 
 /* simple hash is enough for variation of macaddr */
 #define	ACL_HASH(addr)	\
-	(((const u_int8_t *)(addr))[IEEE80211_ADDR_LEN - 1] % ACL_HASHSIZE)
+	(((const uint8_t *)(addr))[IEEE80211_ADDR_LEN - 1] % ACL_HASHSIZE)
 
 MALLOC_DEFINE(M_80211_ACL, "acl", "802.11 station acl");
 
@@ -118,7 +118,7 @@
 }
 
 static __inline struct acl *
-_find_acl(struct aclstate *as, const u_int8_t *macaddr)
+_find_acl(struct aclstate *as, const uint8_t *macaddr)
 {
 	struct acl *acl;
 	int hash;
@@ -143,7 +143,7 @@
 }
 
 static int
-acl_check(struct ieee80211com *ic, const u_int8_t mac[IEEE80211_ADDR_LEN])
+acl_check(struct ieee80211com *ic, const uint8_t mac[IEEE80211_ADDR_LEN])
 {
 	struct aclstate *as = ic->ic_as;
 
@@ -159,7 +159,7 @@
 }
 
 static int
-acl_add(struct ieee80211com *ic, const u_int8_t mac[IEEE80211_ADDR_LEN])
+acl_add(struct ieee80211com *ic, const uint8_t mac[IEEE80211_ADDR_LEN])
 {
 	struct aclstate *as = ic->ic_as;
 	struct acl *acl, *new;
@@ -197,7 +197,7 @@
 }
 
 static int
-acl_remove(struct ieee80211com *ic, const u_int8_t mac[IEEE80211_ADDR_LEN])
+acl_remove(struct ieee80211com *ic, const uint8_t mac[IEEE80211_ADDR_LEN])
 {
 	struct aclstate *as = ic->ic_as;
 	struct acl *acl;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705130352.l4D3qv69029119>