diff options
Diffstat (limited to 'net/tipc/msg.h')
-rw-r--r-- | net/tipc/msg.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/net/tipc/msg.h b/net/tipc/msg.h index c5593ac3da94..005b318fd328 100644 --- a/net/tipc/msg.h +++ b/net/tipc/msg.h | |||
@@ -491,6 +491,35 @@ static inline struct tipc_msg *msg_get_wrapped(struct tipc_msg *m) | |||
491 | #define PUBLICATION 0 | 491 | #define PUBLICATION 0 |
492 | #define WITHDRAWAL 1 | 492 | #define WITHDRAWAL 1 |
493 | 493 | ||
494 | /* | ||
495 | * Segmentation message types | ||
496 | */ | ||
497 | |||
498 | #define FIRST_FRAGMENT 0 | ||
499 | #define FRAGMENT 1 | ||
500 | #define LAST_FRAGMENT 2 | ||
501 | |||
502 | /* | ||
503 | * Link management protocol message types | ||
504 | */ | ||
505 | |||
506 | #define STATE_MSG 0 | ||
507 | #define RESET_MSG 1 | ||
508 | #define ACTIVATE_MSG 2 | ||
509 | |||
510 | /* | ||
511 | * Changeover tunnel message types | ||
512 | */ | ||
513 | #define DUPLICATE_MSG 0 | ||
514 | #define ORIGINAL_MSG 1 | ||
515 | |||
516 | /* | ||
517 | * Config protocol message types | ||
518 | */ | ||
519 | |||
520 | #define DSC_REQ_MSG 0 | ||
521 | #define DSC_RESP_MSG 1 | ||
522 | |||
494 | 523 | ||
495 | /* | 524 | /* |
496 | * Word 1 | 525 | * Word 1 |
@@ -718,35 +747,6 @@ static inline void msg_set_link_tolerance(struct tipc_msg *m, u32 n) | |||
718 | msg_set_bits(m, 9, 0, 0xffff, n); | 747 | msg_set_bits(m, 9, 0, 0xffff, n); |
719 | } | 748 | } |
720 | 749 | ||
721 | /* | ||
722 | * Segmentation message types | ||
723 | */ | ||
724 | |||
725 | #define FIRST_FRAGMENT 0 | ||
726 | #define FRAGMENT 1 | ||
727 | #define LAST_FRAGMENT 2 | ||
728 | |||
729 | /* | ||
730 | * Link management protocol message types | ||
731 | */ | ||
732 | |||
733 | #define STATE_MSG 0 | ||
734 | #define RESET_MSG 1 | ||
735 | #define ACTIVATE_MSG 2 | ||
736 | |||
737 | /* | ||
738 | * Changeover tunnel message types | ||
739 | */ | ||
740 | #define DUPLICATE_MSG 0 | ||
741 | #define ORIGINAL_MSG 1 | ||
742 | |||
743 | /* | ||
744 | * Config protocol message types | ||
745 | */ | ||
746 | |||
747 | #define DSC_REQ_MSG 0 | ||
748 | #define DSC_RESP_MSG 1 | ||
749 | |||
750 | u32 tipc_msg_tot_importance(struct tipc_msg *m); | 750 | u32 tipc_msg_tot_importance(struct tipc_msg *m); |
751 | void tipc_msg_init(struct tipc_msg *m, u32 user, u32 type, | 751 | void tipc_msg_init(struct tipc_msg *m, u32 user, u32 type, |
752 | u32 hsize, u32 destnode); | 752 | u32 hsize, u32 destnode); |