msg.h (06e7c70c6e8903da57982ab3bdc81e01a8ba941d) | msg.h (fc1b6d6de2208774efd2a20bf0daddb02d18b1e0) |
---|---|
1/* 2 * net/tipc/msg.h: Include file for TIPC message header routines 3 * 4 * Copyright (c) 2000-2007, 2014-2017 Ericsson AB 5 * Copyright (c) 2005-2008, 2010-2011, Wind River Systems 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 88 unchanged lines hidden (view full) --- 97#define MIN_H_SIZE 24 /* Smallest legal TIPC header size */ 98#define MAX_H_SIZE 60 /* Largest possible TIPC header size */ 99 100#define MAX_MSG_SIZE (MAX_H_SIZE + TIPC_MAX_USER_MSG_SIZE) 101#define FB_MTU 3744 102#define TIPC_MEDIA_INFO_OFFSET 5 103 104struct tipc_skb_cb { | 1/* 2 * net/tipc/msg.h: Include file for TIPC message header routines 3 * 4 * Copyright (c) 2000-2007, 2014-2017 Ericsson AB 5 * Copyright (c) 2005-2008, 2010-2011, Wind River Systems 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 88 unchanged lines hidden (view full) --- 97#define MIN_H_SIZE 24 /* Smallest legal TIPC header size */ 98#define MAX_H_SIZE 60 /* Largest possible TIPC header size */ 99 100#define MAX_MSG_SIZE (MAX_H_SIZE + TIPC_MAX_USER_MSG_SIZE) 101#define FB_MTU 3744 102#define TIPC_MEDIA_INFO_OFFSET 5 103 104struct tipc_skb_cb { |
105 struct sk_buff *tail; 106 unsigned long nxt_retr; 107 unsigned long retr_stamp; 108 u32 bytes_read; 109 u32 orig_member; 110 u16 chain_imp; 111 u16 ackers; 112 u16 retr_cnt; 113 bool validated; 114}; | 105 union { 106 struct { 107 struct sk_buff *tail; 108 unsigned long nxt_retr; 109 unsigned long retr_stamp; 110 u32 bytes_read; 111 u32 orig_member; 112 u16 chain_imp; 113 u16 ackers; 114 u16 retr_cnt; 115 } __packed; 116#ifdef CONFIG_TIPC_CRYPTO 117 struct { 118 struct tipc_crypto *rx; 119 struct tipc_aead *last; 120 u8 recurs; 121 } tx_clone_ctx __packed; 122#endif 123 } __packed; 124 union { 125 struct { 126 u8 validated:1; 127#ifdef CONFIG_TIPC_CRYPTO 128 u8 encrypted:1; 129 u8 decrypted:1; 130 u8 probe:1; 131 u8 tx_clone_deferred:1; 132#endif 133 }; 134 u8 flags; 135 }; 136 u8 reserved; 137#ifdef CONFIG_TIPC_CRYPTO 138 void *crypto_ctx; 139#endif 140} __packed; |
115 116#define TIPC_SKB_CB(__skb) ((struct tipc_skb_cb *)&((__skb)->cb[0])) 117 118struct tipc_msg { 119 __be32 hdr[15]; 120}; 121 122/* struct tipc_gap_ack - TIPC Gap ACK block --- 1106 unchanged lines hidden --- | 141 142#define TIPC_SKB_CB(__skb) ((struct tipc_skb_cb *)&((__skb)->cb[0])) 143 144struct tipc_msg { 145 __be32 hdr[15]; 146}; 147 148/* struct tipc_gap_ack - TIPC Gap ACK block --- 1106 unchanged lines hidden --- |