Home
last modified time | relevance | path

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

/net/tipc/
Dmsg.h380 static inline u32 msg_type(struct tipc_msg *m) in msg_type() function
392 int mtyp = msg_type(m); in msg_in_group()
399 return msg_type(m) == TIPC_GRP_MEMBER_EVT; in msg_is_grp_evt()
404 return msg_type(m) == TIPC_NAMED_MSG; in msg_named()
409 int mtyp = msg_type(m); in msg_mcast()
417 return msg_type(m) == TIPC_CONN_MSG; in msg_connected()
422 return msg_type(m) == TIPC_DIRECT_MSG; in msg_direct()
1104 if (msg_type(m) == STATE_MSG) in msg_peer_link_is_up()
1118 return (msg_user(hdr) == LINK_PROTOCOL) && (msg_type(hdr) == RESET_MSG); in msg_is_reset()
Dtrace.c70 i += scnprintf(buf + i, sz - i, " %u", msg_type(hdr)); in tipc_skb_dump()
97 switch (msg_type(hdr)) { in tipc_skb_dump()
Dlink.c805 if (msg_type(msg) != FIRST_FRAGMENT) in link_profile_stats()
1061 msg_type(hdr), msg_size(hdr), mtu); in tipc_link_xmit()
1242 msg_user(hdr), msg_type(hdr), msg_size(hdr), msg_errcode(hdr)); in link_retransmit_failure()
1376 if (msg_type(hdr) == SYNCH_MSG) { in tipc_link_tnl_rcv()
2075 msg_type(hdr), msg_size(hdr)); in tipc_link_tnl_prepare()
2158 int mtyp = msg_type(hdr); in tipc_link_validate_msg()
2211 int mtyp = msg_type(hdr); in tipc_link_proto_rcv()
2402 int mtyp = msg_type(hdr); in tipc_link_bc_init_rcv()
2523 int mtyp = msg_type(hdr); in tipc_link_bc_nack_rcv()
Dgroup.c477 int mtyp = msg_type(hdr); in tipc_group_sort_msg()
530 mtyp = msg_type(hdr); in tipc_group_filter_msg()
758 switch (msg_type(hdr)) { in tipc_group_proto_rcv()
Dbcast.c334 if (msg_type(hdr) != TIPC_MCAST_MSG) in tipc_mcast_send_sync()
510 if (msg_type(hdr) != STATE_MSG) { in tipc_bcast_sync_rcv()
Ddiscover.c208 u32 mtyp = msg_type(hdr); in tipc_disc_rcv()
Dname_distr.c380 tipc_update_nametbl(net, item, node, msg_type(hdr)); in tipc_named_rcv()
Dcrypto.c1079 if (user == LINK_PROTOCOL && msg_type(hdr) == STATE_MSG) { in tipc_ehdr_build()
1691 u32 type = msg_type(hdr); in tipc_crypto_xmit()
2168 switch (msg_type(hdr)) { in tipc_crypto_msg_rcv()
Dmsg.c138 fragid = msg_type(msg); in tipc_buf_append()
Dsocket.c1216 mtyp = msg_type(hdr); in tipc_sk_mcast_rcv()
1336 int mtyp = msg_type(hdr); in tipc_sk_conn_proto_rcv()
1767 switch (msg_type(hdr)) { in tipc_sk_anc_data_recv()
2346 int mtyp = msg_type(hdr); in tipc_sk_filter_rcv()
Dnode.c1937 int mtyp = msg_type(hdr); in tipc_node_check_state()
/net/mctp/
Ddevice.c63 int msg_type, u32 portid, u32 seq, int flag) in mctp_fill_addrinfo() argument
69 msg_type, sizeof(*hdr), flag); in mctp_fill_addrinfo()
159 static void mctp_addr_notify(struct mctp_dev *mdev, mctp_eid_t eid, int msg_type, in mctp_addr_notify() argument
171 rc = mctp_fill_addrinfo(skb, mdev, eid, msg_type, in mctp_addr_notify()
/net/batman-adv/
Drouting.c226 switch (icmph->msg_type) { in batadv_recv_my_icmp_packet()
246 icmph->msg_type = BATADV_ECHO_REPLY; in batadv_recv_my_icmp_packet()
289 if (icmp_packet->msg_type != BATADV_ECHO_REQUEST) { in batadv_recv_icmp_ttl_exceeded()
312 icmp_packet->msg_type = BATADV_TTL_EXCEEDED; in batadv_recv_icmp_ttl_exceeded()
370 if ((icmph->msg_type == BATADV_ECHO_REPLY || in batadv_recv_icmp_packet()
371 icmph->msg_type == BATADV_ECHO_REQUEST) && in batadv_recv_icmp_packet()
Dtp_meter.c601 icmp->msg_type = BATADV_TP; in batadv_tp_send_msg()
1187 icmp->msg_type = BATADV_TP; in batadv_tp_send_ack()
/net/netfilter/
Dnf_tables_api.c152 int msg_type, u32 size, gfp_t gfp) in nft_trans_alloc_gfp() argument
162 trans->msg_type = msg_type; in nft_trans_alloc_gfp()
169 int msg_type, u32 size) in nft_trans_alloc() argument
171 return nft_trans_alloc_gfp(ctx, msg_type, size, GFP_KERNEL); in nft_trans_alloc()
198 switch (trans->msg_type) { in __nft_set_trans_bind()
233 switch (trans->msg_type) { in __nft_chain_trans_bind()
376 switch (trans->msg_type) { in nft_trans_commit_list_add_tail()
392 static int nft_trans_table_add(struct nft_ctx *ctx, int msg_type) in nft_trans_table_add() argument
396 trans = nft_trans_alloc(ctx, msg_type, sizeof(struct nft_trans_table)); in nft_trans_table_add()
400 if (msg_type == NFT_MSG_NEWTABLE) in nft_trans_table_add()
[all …]
Dnf_tables_offload.c519 switch (trans->msg_type) { in nft_flow_rule_offload_abort()
570 switch (trans->msg_type) { in nft_flow_rule_offload_commit()
/net/smc/
Dsmc_llc.c235 u8 msg_type = qentry->msg.raw.hdr.common.llc_type; in smc_llc_flow_parallel() local
237 if ((msg_type == SMC_LLC_ADD_LINK || msg_type == SMC_LLC_DELETE_LINK) && in smc_llc_flow_parallel()
238 flow_type != msg_type && !lgr->delayed_event) { in smc_llc_flow_parallel()
243 if (flow_type != msg_type) in smc_llc_flow_parallel()