Loading include/net/sctp/constants.h +1 −1 Original line number Diff line number Diff line Loading @@ -356,7 +356,7 @@ typedef enum { * addresses. */ #define IS_IPV4_UNUSABLE_ADDRESS(a) \ ((INADDR_BROADCAST == *a) || \ ((htonl(INADDR_BROADCAST) == *a) || \ (MULTICAST(*a)) || \ (((unsigned char *)(a))[0] == 0) || \ ((((unsigned char *)(a))[0] == 198) && \ Loading include/net/sctp/sctp.h +1 −1 Original line number Diff line number Diff line Loading @@ -585,7 +585,7 @@ static inline int ipver2af(__u8 ipver) } /* Convert from an address parameter type to an address family. */ static inline int param_type2af(__u16 type) static inline int param_type2af(__be16 type) { switch (type) { case SCTP_PARAM_IPV4_ADDRESS: Loading include/net/sctp/sm.h +1 −1 Original line number Diff line number Diff line Loading @@ -243,7 +243,7 @@ struct sctp_chunk *sctp_make_op_error(const struct sctp_association *, struct sctp_chunk *sctp_make_asconf_update_ip(struct sctp_association *, union sctp_addr *, struct sockaddr *, int, __u16); int, __be16); struct sctp_chunk *sctp_make_asconf_set_prim(struct sctp_association *asoc, union sctp_addr *addr); struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc, Loading include/net/sctp/structs.h +1 −1 Original line number Diff line number Diff line Loading @@ -1482,7 +1482,7 @@ struct sctp_association { /* This mask is used to disable sending the ASCONF chunk * with specified parameter to peer. */ __u16 addip_disabled_mask; __be16 addip_disabled_mask; struct sctp_inithdr i; int cookie_len; Loading net/sctp/associola.c +1 −1 Original line number Diff line number Diff line Loading @@ -868,7 +868,7 @@ struct sctp_transport *sctp_assoc_lookup_tsn(struct sctp_association *asoc, struct list_head *entry, *pos; struct sctp_transport *transport; struct sctp_chunk *chunk; __u32 key = htonl(tsn); __be32 key = htonl(tsn); match = NULL; Loading Loading
include/net/sctp/constants.h +1 −1 Original line number Diff line number Diff line Loading @@ -356,7 +356,7 @@ typedef enum { * addresses. */ #define IS_IPV4_UNUSABLE_ADDRESS(a) \ ((INADDR_BROADCAST == *a) || \ ((htonl(INADDR_BROADCAST) == *a) || \ (MULTICAST(*a)) || \ (((unsigned char *)(a))[0] == 0) || \ ((((unsigned char *)(a))[0] == 198) && \ Loading
include/net/sctp/sctp.h +1 −1 Original line number Diff line number Diff line Loading @@ -585,7 +585,7 @@ static inline int ipver2af(__u8 ipver) } /* Convert from an address parameter type to an address family. */ static inline int param_type2af(__u16 type) static inline int param_type2af(__be16 type) { switch (type) { case SCTP_PARAM_IPV4_ADDRESS: Loading
include/net/sctp/sm.h +1 −1 Original line number Diff line number Diff line Loading @@ -243,7 +243,7 @@ struct sctp_chunk *sctp_make_op_error(const struct sctp_association *, struct sctp_chunk *sctp_make_asconf_update_ip(struct sctp_association *, union sctp_addr *, struct sockaddr *, int, __u16); int, __be16); struct sctp_chunk *sctp_make_asconf_set_prim(struct sctp_association *asoc, union sctp_addr *addr); struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc, Loading
include/net/sctp/structs.h +1 −1 Original line number Diff line number Diff line Loading @@ -1482,7 +1482,7 @@ struct sctp_association { /* This mask is used to disable sending the ASCONF chunk * with specified parameter to peer. */ __u16 addip_disabled_mask; __be16 addip_disabled_mask; struct sctp_inithdr i; int cookie_len; Loading
net/sctp/associola.c +1 −1 Original line number Diff line number Diff line Loading @@ -868,7 +868,7 @@ struct sctp_transport *sctp_assoc_lookup_tsn(struct sctp_association *asoc, struct list_head *entry, *pos; struct sctp_transport *transport; struct sctp_chunk *chunk; __u32 key = htonl(tsn); __be32 key = htonl(tsn); match = NULL; Loading