Loading include/linux/atmarp.h +1 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,7 @@ enum atmarp_ctrl_type { struct atmarp_ctrl { enum atmarp_ctrl_type type; /* message type */ int itf_num;/* interface number (if present) */ uint32_t ip; /* IP address (act_need only) */ __be32 ip; /* IP address (act_need only) */ }; #endif include/linux/atmbr2684.h +2 −2 Original line number Diff line number Diff line Loading @@ -86,8 +86,8 @@ struct atm_backend_br2684 { * efficient per-if in/out filters, this support will be removed */ struct br2684_filter { __u32 prefix; /* network byte order */ __u32 netmask; /* 0 = disable filter */ __be32 prefix; /* network byte order */ __be32 netmask; /* 0 = disable filter */ }; struct br2684_filter_set { Loading include/linux/atmmpc.h +8 −8 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ struct atmmpc_ioc { int dev_num; uint32_t ipaddr; /* the IP address of the shortcut */ __be32 ipaddr; /* the IP address of the shortcut */ int type; /* ingress or egress */ }; Loading @@ -21,8 +21,8 @@ typedef struct in_ctrl_info { uint8_t Last_NHRP_CIE_code; uint8_t Last_Q2931_cause_value; uint8_t eg_MPC_ATM_addr[ATM_ESA_LEN]; uint32_t tag; uint32_t in_dst_ip; /* IP address this ingress MPC sends packets to */ __be32 tag; __be32 in_dst_ip; /* IP address this ingress MPC sends packets to */ uint16_t holding_time; uint32_t request_id; } in_ctrl_info; Loading @@ -30,10 +30,10 @@ typedef struct in_ctrl_info { typedef struct eg_ctrl_info { uint8_t DLL_header[256]; uint8_t DH_length; uint32_t cache_id; uint32_t tag; uint32_t mps_ip; uint32_t eg_dst_ip; /* IP address to which ingress MPC sends packets */ __be32 cache_id; __be32 tag; __be32 mps_ip; __be32 eg_dst_ip; /* IP address to which ingress MPC sends packets */ uint8_t in_MPC_data_ATM_addr[ATM_ESA_LEN]; uint16_t holding_time; } eg_ctrl_info; Loading @@ -49,7 +49,7 @@ struct mpc_parameters { struct k_message { uint16_t type; uint32_t ip_mask; __be32 ip_mask; uint8_t MPS_ctrl[ATM_ESA_LEN]; union { in_ctrl_info in_info; Loading include/net/atmclip.h +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ struct clip_vcc { struct atmarp_entry { u32 ip; /* IP address */ __be32 ip; /* IP address */ struct clip_vcc *vccs; /* active VCCs; NULL if resolution is pending */ unsigned long expires; /* entry expiration time */ Loading net/atm/br2684.c +1 −1 Original line number Diff line number Diff line Loading @@ -372,7 +372,7 @@ static int br2684_setfilt(struct atm_vcc *atmvcc, void __user *arg) /* Returns 1 if packet should be dropped */ static inline int packet_fails_filter(u16 type, struct br2684_vcc *brvcc, struct sk_buff *skb) packet_fails_filter(__be16 type, struct br2684_vcc *brvcc, struct sk_buff *skb) { if (brvcc->filter.netmask == 0) return 0; /* no filter in place */ Loading Loading
include/linux/atmarp.h +1 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,7 @@ enum atmarp_ctrl_type { struct atmarp_ctrl { enum atmarp_ctrl_type type; /* message type */ int itf_num;/* interface number (if present) */ uint32_t ip; /* IP address (act_need only) */ __be32 ip; /* IP address (act_need only) */ }; #endif
include/linux/atmbr2684.h +2 −2 Original line number Diff line number Diff line Loading @@ -86,8 +86,8 @@ struct atm_backend_br2684 { * efficient per-if in/out filters, this support will be removed */ struct br2684_filter { __u32 prefix; /* network byte order */ __u32 netmask; /* 0 = disable filter */ __be32 prefix; /* network byte order */ __be32 netmask; /* 0 = disable filter */ }; struct br2684_filter_set { Loading
include/linux/atmmpc.h +8 −8 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ struct atmmpc_ioc { int dev_num; uint32_t ipaddr; /* the IP address of the shortcut */ __be32 ipaddr; /* the IP address of the shortcut */ int type; /* ingress or egress */ }; Loading @@ -21,8 +21,8 @@ typedef struct in_ctrl_info { uint8_t Last_NHRP_CIE_code; uint8_t Last_Q2931_cause_value; uint8_t eg_MPC_ATM_addr[ATM_ESA_LEN]; uint32_t tag; uint32_t in_dst_ip; /* IP address this ingress MPC sends packets to */ __be32 tag; __be32 in_dst_ip; /* IP address this ingress MPC sends packets to */ uint16_t holding_time; uint32_t request_id; } in_ctrl_info; Loading @@ -30,10 +30,10 @@ typedef struct in_ctrl_info { typedef struct eg_ctrl_info { uint8_t DLL_header[256]; uint8_t DH_length; uint32_t cache_id; uint32_t tag; uint32_t mps_ip; uint32_t eg_dst_ip; /* IP address to which ingress MPC sends packets */ __be32 cache_id; __be32 tag; __be32 mps_ip; __be32 eg_dst_ip; /* IP address to which ingress MPC sends packets */ uint8_t in_MPC_data_ATM_addr[ATM_ESA_LEN]; uint16_t holding_time; } eg_ctrl_info; Loading @@ -49,7 +49,7 @@ struct mpc_parameters { struct k_message { uint16_t type; uint32_t ip_mask; __be32 ip_mask; uint8_t MPS_ctrl[ATM_ESA_LEN]; union { in_ctrl_info in_info; Loading
include/net/atmclip.h +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ struct clip_vcc { struct atmarp_entry { u32 ip; /* IP address */ __be32 ip; /* IP address */ struct clip_vcc *vccs; /* active VCCs; NULL if resolution is pending */ unsigned long expires; /* entry expiration time */ Loading
net/atm/br2684.c +1 −1 Original line number Diff line number Diff line Loading @@ -372,7 +372,7 @@ static int br2684_setfilt(struct atm_vcc *atmvcc, void __user *arg) /* Returns 1 if packet should be dropped */ static inline int packet_fails_filter(u16 type, struct br2684_vcc *brvcc, struct sk_buff *skb) packet_fails_filter(__be16 type, struct br2684_vcc *brvcc, struct sk_buff *skb) { if (brvcc->filter.netmask == 0) return 0; /* no filter in place */ Loading