netfilter-bridge: use netdev style comments
[linux-drm-fsl-dcu.git] / net / bridge / netfilter / ebt_vlan.c
index 6185688881285f356f98c0ab328fd91da45b1239..98c221dbf05962975ac65fff2bd19d8b5f082c7b 100644 (file)
@@ -66,7 +66,8 @@ ebt_vlan_mt(const struct sk_buff *skb, struct xt_action_param *par)
         * - Canonical Format Indicator (CFI). The Canonical Format Indicator
         * (CFI) is a single bit flag value. Currently ignored.
         * - VLAN Identifier (VID). The VID is encoded as
-        * an unsigned binary number. */
+        * an unsigned binary number.
+        */
        id = TCI & VLAN_VID_MASK;
        prio = (TCI >> 13) & 0x7;
 
@@ -98,7 +99,8 @@ static int ebt_vlan_mt_check(const struct xt_mtchk_param *par)
        }
 
        /* Check for bitmask range
-        * True if even one bit is out of mask */
+        * True if even one bit is out of mask
+        */
        if (info->bitmask & ~EBT_VLAN_MASK) {
                pr_debug("bitmask %2X is out of mask (%2X)\n",
                         info->bitmask, EBT_VLAN_MASK);
@@ -117,7 +119,8 @@ static int ebt_vlan_mt_check(const struct xt_mtchk_param *par)
         * 0 - The null VLAN ID.
         * 1 - The default Port VID (PVID)
         * 0x0FFF - Reserved for implementation use.
-        * if_vlan.h: VLAN_N_VID 4096. */
+        * if_vlan.h: VLAN_N_VID 4096.
+        */
        if (GET_BITMASK(EBT_VLAN_ID)) {
                if (!!info->id) { /* if id!=0 => check vid range */
                        if (info->id > VLAN_N_VID) {
@@ -128,7 +131,8 @@ static int ebt_vlan_mt_check(const struct xt_mtchk_param *par)
                        /* Note: This is valid VLAN-tagged frame point.
                         * Any value of user_priority are acceptable,
                         * but should be ignored according to 802.1Q Std.
-                        * So we just drop the prio flag. */
+                        * So we just drop the prio flag.
+                        */
                        info->bitmask &= ~EBT_VLAN_PRIO;
                }
                /* Else, id=0 (null VLAN ID)  => user_priority range (any?) */
@@ -143,7 +147,8 @@ static int ebt_vlan_mt_check(const struct xt_mtchk_param *par)
        }
        /* Check for encapsulated proto range - it is possible to be
         * any value for u_short range.
-        * if_ether.h:  ETH_ZLEN        60   -  Min. octets in frame sans FCS */
+        * if_ether.h:  ETH_ZLEN        60   -  Min. octets in frame sans FCS
+        */
        if (GET_BITMASK(EBT_VLAN_ENCAP)) {
                if ((unsigned short) ntohs(info->encap) < ETH_ZLEN) {
                        pr_debug("encap frame length %d is less than "