Home
last modified time | relevance | path

Searched refs:NODE_ID_LEN (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/net/tipc/
H A Daddr.c60 memcpy(tn->node_id, id, NODE_ID_LEN); in tipc_set_node_id()
70 u8 node_id[NODE_ID_LEN] = {0,}; in tipc_set_node_addr()
88 for (i = 0; i < NODE_ID_LEN; i++) { in tipc_nodeid2string()
109 if (i == NODE_ID_LEN) { in tipc_nodeid2string()
110 memcpy(str, id, NODE_ID_LEN); in tipc_nodeid2string()
111 str[NODE_ID_LEN] = 0; in tipc_nodeid2string()
116 for (i = 0; i < NODE_ID_LEN; i++) in tipc_nodeid2string()
H A Dcore.h87 #define NODE_ID_LEN 16 macro
88 #define NODE_ID_STR_LEN (NODE_ID_LEN * 2 + 1)
95 u8 node_id[NODE_ID_LEN];
H A Ddiscover.c91 msg_set_size(hdr, MAX_H_SIZE + NODE_ID_LEN); in tipc_disc_init_msg()
110 skb = tipc_buf_acquire(MAX_H_SIZE + NODE_ID_LEN, GFP_ATOMIC); in tipc_disc_msg_xmit()
203 u8 peer_id[NODE_ID_LEN] = {0,}; in tipc_disc_rcv()
221 memcpy(peer_id, msg_node_id(hdr), NODE_ID_LEN); in tipc_disc_rcv()
359 d->skb = tipc_buf_acquire(MAX_H_SIZE + NODE_ID_LEN, GFP_ATOMIC); in tipc_disc_create()
H A Dcrypto.h150 __u8 id[NODE_ID_LEN]; /* For a LINK_CONFIG message only! */
H A Dnet.c267 u8 node_id[NODE_ID_LEN]; in __tipc_nl_net_set()
H A Dbearer.c425 u8 node_id[NODE_ID_LEN] = {0,}; in tipc_enable_l2_media()
443 if (!tipc_own_id(net) && hwaddr_len <= NODE_ID_LEN) { in tipc_enable_l2_media()
H A Dnode.c459 if (memcmp(n->peer_id, tn_peer->node_id, NODE_ID_LEN)) in tipc_node_assign_peer_net()
1145 if (!memcmp(n->peer_id, id, NODE_ID_LEN)) in tipc_node_try_addr()
2247 u8 node_id[NODE_ID_LEN]; in tipc_nl_peer_rm()
3011 if (memcmp(id, own_id, NODE_ID_LEN)) { in __tipc_nl_node_set_key()
H A Dudp_media.c671 u8 node_id[NODE_ID_LEN] = {0,}; in tipc_udp_enable()
H A Dcrypto.c1076 memcpy(ehdr->id, tipc_own_id(net), NODE_ID_LEN); in tipc_ehdr_build()