Home
last modified time | relevance | path

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

/net/batman-adv/
Dpacket.h252 u8 msg_type; /* see ICMP message types above */ member
275 u8 msg_type; /* see ICMP message types above */ member
302 u8 msg_type; /* see ICMP message types above */ member
Dicmp_socket.c228 switch (icmp_header->msg_type) { in batadv_socket_write()
272 icmp_header->msg_type = BATADV_PARAMETER_PROBLEM; in batadv_socket_write()
285 icmp_header->msg_type = BATADV_DESTINATION_UNREACHABLE; in batadv_socket_write()
Drouting.c223 switch (icmph->msg_type) { in batadv_recv_my_icmp_packet()
252 icmph->msg_type = BATADV_ECHO_REPLY; in batadv_recv_my_icmp_packet()
283 if (icmp_packet->msg_type != BATADV_ECHO_REQUEST) { in batadv_recv_icmp_ttl_exceeded()
306 icmp_packet->msg_type = BATADV_TTL_EXCEEDED; in batadv_recv_icmp_ttl_exceeded()
352 if ((icmph->msg_type == BATADV_ECHO_REPLY || in batadv_recv_icmp_packet()
353 icmph->msg_type == BATADV_ECHO_REQUEST) && in batadv_recv_icmp_packet()
/net/tipc/
Dmsg.h257 static inline u32 msg_type(struct tipc_msg *m) in msg_type() function
269 return msg_type(m) == TIPC_NAMED_MSG; in msg_named()
274 return msg_type(m) == TIPC_MCAST_MSG; in msg_mcast()
279 return msg_type(m) == TIPC_CONN_MSG; in msg_connected()
770 if (msg_type(m) == STATE_MSG) in msg_peer_link_is_up()
Dlink.c531 if (msg_type(msg) != FIRST_FRAGMENT) in link_profile_stats()
810 msg_user(hdr), msg_type(hdr), msg_size(hdr), msg_errcode(hdr)); in link_retransmit_failure()
907 if (msg_type(hdr) == SYNCH_MSG) { in tipc_link_input()
1226 int mtyp = msg_type(hdr); in tipc_link_proto_rcv()
1367 int mtyp = msg_type(hdr); in tipc_link_bc_init_rcv()
1472 int mtyp = msg_type(hdr); in tipc_link_bc_nack_rcv()
Ddiscover.c133 u32 mtyp = msg_type(hdr); in tipc_disc_rcv()
Dname_distr.c403 mtype = msg_type(msg); in tipc_named_rcv()
Dbcast.c281 if (msg_type(hdr) == STATE_MSG) { in tipc_bcast_sync_rcv()
Dmsg.c134 fragid = msg_type(msg); in tipc_buf_append()
Dsocket.c789 int mtyp = msg_type(hdr); in tipc_sk_proto_rcv()
1198 dest_type = msg ? msg_type(msg) : TIPC_DIRECT_MSG; in tipc_sk_anc_data_recv()
1679 if (unlikely(msg_type(hdr) > TIPC_DIRECT_MSG)) { in filter_rcv()
Dnode.c1148 int mtyp = msg_type(hdr); in tipc_node_check_state()
/net/netfilter/
Dnf_tables_api.c110 static struct nft_trans *nft_trans_alloc(struct nft_ctx *ctx, int msg_type, in nft_trans_alloc() argument
119 trans->msg_type = msg_type; in nft_trans_alloc()
180 static int nft_trans_table_add(struct nft_ctx *ctx, int msg_type) in nft_trans_table_add() argument
184 trans = nft_trans_alloc(ctx, msg_type, sizeof(struct nft_trans_table)); in nft_trans_table_add()
188 if (msg_type == NFT_MSG_NEWTABLE) in nft_trans_table_add()
207 static int nft_trans_chain_add(struct nft_ctx *ctx, int msg_type) in nft_trans_chain_add() argument
211 trans = nft_trans_alloc(ctx, msg_type, sizeof(struct nft_trans_chain)); in nft_trans_chain_add()
215 if (msg_type == NFT_MSG_NEWCHAIN) in nft_trans_chain_add()
278 static struct nft_trans *nft_trans_rule_add(struct nft_ctx *ctx, int msg_type, in nft_trans_rule_add() argument
283 trans = nft_trans_alloc(ctx, msg_type, sizeof(struct nft_trans_rule)); in nft_trans_rule_add()
[all …]