Home
last modified time | relevance | path

Searched refs:msg_type (Results 1 – 11 of 11) sorted by relevance

/net/tipc/
Dmsg.h215 static inline u32 msg_type(struct tipc_msg *m) in msg_type() function
227 return msg_type(m) == TIPC_NAMED_MSG; in msg_named()
232 return msg_type(m) == TIPC_MCAST_MSG; in msg_mcast()
237 return msg_type(m) == TIPC_CONN_MSG; in msg_connected()
717 if ((msg_user(m) == MSG_FRAGMENTER) && (msg_type(m) == FIRST_FRAGMENT)) in tipc_msg_tot_importance()
724 if ((msg_user(m) == MSG_FRAGMENTER) && (msg_type(m) == FIRST_FRAGMENT)) in msg_tot_origport()
Dmsg.c111 fragid = msg_type(msg); in tipc_buf_append()
292 if (likely(msg_type(bmsg) != BUNDLE_OPEN)) in tipc_msg_bundle()
408 if (msg_type(msg) != TIPC_NAMED_MSG) in tipc_msg_eval()
Dname_distr.c375 if (!tipc_update_nametbl(item, node, msg_type(msg))) in tipc_named_rcv()
376 tipc_named_add_backlog(item, msg_type(msg), node); in tipc_named_rcv()
Dlink.c171 (msg_type(msg) == FIRST_FRAGMENT)) { in link_timeout()
1086 min_data_hdr_size[msg_type(msg)] : INT_H_SIZE; in link_recv_buf_validate()
1158 (msg_type(msg) == RESET_MSG || in tipc_rcv()
1159 msg_type(msg) == ACTIVATE_MSG) && in tipc_rcv()
1530 switch (msg_type(msg)) { in tipc_link_proto_rcv()
1583 if (msg_type(msg) == ACTIVATE_MSG) in tipc_link_proto_rcv()
1898 if (msg_type(t_msg) == DUPLICATE_MSG) in tipc_link_tunnel_rcv()
1900 else if (msg_type(t_msg) == ORIGINAL_MSG) in tipc_link_tunnel_rcv()
1928 if (unlikely(msg_type(omsg) == TIPC_MCAST_MSG)) in tipc_link_bundle_rcv()
Ddiscover.c123 u32 mtyp = msg_type(msg); in tipc_disc_rcv()
Dsocket.c804 if (msg_type(msg) == CONN_ACK) { in tipc_sk_proto_rcv()
809 } else if (msg_type(msg) == CONN_PROBE) { in tipc_sk_proto_rcv()
1223 dest_type = msg ? msg_type(msg) : TIPC_DIRECT_MSG; in tipc_sk_anc_data_recv()
1698 if (msg_type(msg) > TIPC_DIRECT_MSG) in filter_rcv()
Dbcast.c502 if (msg_type(msg) != STATE_MSG) in tipc_bclink_rcv()
/net/batman-adv/
Dpacket.h248 uint8_t msg_type; /* see ICMP message types above */ member
271 uint8_t msg_type; /* see ICMP message types above */ member
298 uint8_t msg_type; /* see ICMP message types above */ member
Drouting.c207 switch (icmph->msg_type) { in batadv_recv_my_icmp_packet()
236 icmph->msg_type = BATADV_ECHO_REPLY; in batadv_recv_my_icmp_packet()
267 if (icmp_packet->msg_type != BATADV_ECHO_REQUEST) { in batadv_recv_icmp_ttl_exceeded()
290 icmp_packet->msg_type = BATADV_TTL_EXCEEDED; in batadv_recv_icmp_ttl_exceeded()
337 if ((icmph->msg_type == BATADV_ECHO_REPLY || in batadv_recv_icmp_packet()
338 icmph->msg_type == BATADV_ECHO_REQUEST) && in batadv_recv_icmp_packet()
Dicmp_socket.c203 switch (icmp_header->msg_type) { in batadv_socket_write()
247 icmp_header->msg_type = BATADV_PARAMETER_PROBLEM; in batadv_socket_write()
260 icmp_header->msg_type = BATADV_DESTINATION_UNREACHABLE; in batadv_socket_write()
/net/netfilter/
Dnf_tables_api.c109 static struct nft_trans *nft_trans_alloc(struct nft_ctx *ctx, int msg_type, in nft_trans_alloc() argument
118 trans->msg_type = msg_type; in nft_trans_alloc()
142 static int nft_trans_table_add(struct nft_ctx *ctx, int msg_type) in nft_trans_table_add() argument
146 trans = nft_trans_alloc(ctx, msg_type, sizeof(struct nft_trans_table)); in nft_trans_table_add()
150 if (msg_type == NFT_MSG_NEWTABLE) in nft_trans_table_add()
169 static int nft_trans_chain_add(struct nft_ctx *ctx, int msg_type) in nft_trans_chain_add() argument
173 trans = nft_trans_alloc(ctx, msg_type, sizeof(struct nft_trans_chain)); in nft_trans_chain_add()
177 if (msg_type == NFT_MSG_NEWCHAIN) in nft_trans_chain_add()
245 static struct nft_trans *nft_trans_rule_add(struct nft_ctx *ctx, int msg_type, in nft_trans_rule_add() argument
250 trans = nft_trans_alloc(ctx, msg_type, sizeof(struct nft_trans_rule)); in nft_trans_rule_add()
[all …]