node.h (4cbf8ac2fe5a0846508fe02b95a5de1a90fa73f4) node.h (fc1b6d6de2208774efd2a20bf0daddb02d18b1e0)
1/*
2 * net/tipc/node.h: Include file for TIPC node management routines
3 *
4 * Copyright (c) 2000-2006, 2014-2016, Ericsson AB
5 * Copyright (c) 2005, 2010-2014, Wind River Systems
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 62 unchanged lines hidden (view full) ---

71 TIPC_NAGLE)
72
73#define INVALID_BEARER_ID -1
74
75void tipc_node_stop(struct net *net);
76bool tipc_node_get_id(struct net *net, u32 addr, u8 *id);
77u32 tipc_node_get_addr(struct tipc_node *node);
78char *tipc_node_get_id_str(struct tipc_node *node);
1/*
2 * net/tipc/node.h: Include file for TIPC node management routines
3 *
4 * Copyright (c) 2000-2006, 2014-2016, Ericsson AB
5 * Copyright (c) 2005, 2010-2014, Wind River Systems
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 62 unchanged lines hidden (view full) ---

71 TIPC_NAGLE)
72
73#define INVALID_BEARER_ID -1
74
75void tipc_node_stop(struct net *net);
76bool tipc_node_get_id(struct net *net, u32 addr, u8 *id);
77u32 tipc_node_get_addr(struct tipc_node *node);
78char *tipc_node_get_id_str(struct tipc_node *node);
79void tipc_node_put(struct tipc_node *node);
80struct tipc_node *tipc_node_create(struct net *net, u32 addr, u8 *peer_id,
81 u16 capabilities, u32 hash_mixes,
82 bool preliminary);
83#ifdef CONFIG_TIPC_CRYPTO
84struct tipc_crypto *tipc_node_crypto_rx(struct tipc_node *__n);
85struct tipc_crypto *tipc_node_crypto_rx_by_list(struct list_head *pos);
86#endif
79u32 tipc_node_try_addr(struct net *net, u8 *id, u32 addr);
80void tipc_node_check_dest(struct net *net, u32 onode, u8 *peer_id128,
81 struct tipc_bearer *bearer,
82 u16 capabilities, u32 signature, u32 hash_mixes,
83 struct tipc_media_addr *maddr,
84 bool *respond, bool *dupl_addr);
85void tipc_node_delete_links(struct net *net, int bearer_id);
86void tipc_node_apply_property(struct net *net, struct tipc_bearer *b, int prop);

--- 29 unchanged lines hidden ---
87u32 tipc_node_try_addr(struct net *net, u8 *id, u32 addr);
88void tipc_node_check_dest(struct net *net, u32 onode, u8 *peer_id128,
89 struct tipc_bearer *bearer,
90 u16 capabilities, u32 signature, u32 hash_mixes,
91 struct tipc_media_addr *maddr,
92 bool *respond, bool *dupl_addr);
93void tipc_node_delete_links(struct net *net, int bearer_id);
94void tipc_node_apply_property(struct net *net, struct tipc_bearer *b, int prop);

--- 29 unchanged lines hidden ---