Home
last modified time | relevance | path

Searched refs:bearer (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/net/tipc/
H A Dbearer.c2 * net/tipc/bearer.c: TIPC bearer code
39 #include "bearer.h"
126 * bearer_name_validate - validate & (optionally) deconstruct bearer name
127 * @name: ptr to bearer name string
128 * @name_parts: ptr to area for bearer name components (or NULL if not needed)
130 * Returns 1 if bearer name is valid, otherwise 0.
141 /* copy bearer name & ensure length is OK */ in bearer_name_validate()
148 /* ensure all component parts of bearer name are present */ in bearer_name_validate()
157 /* validate component parts of bearer nam in bearer_name_validate()
805 __tipc_nl_add_bearer(struct tipc_nl_msg *msg, struct tipc_bearer *bearer, int nlflags) __tipc_nl_add_bearer() argument
865 struct tipc_bearer *bearer; tipc_nl_bearer_dump() local
898 struct tipc_bearer *bearer; tipc_nl_bearer_get() local
949 struct tipc_bearer *bearer; __tipc_nl_bearer_disable() local
992 char *bearer; __tipc_nl_bearer_enable() local
[all...]
H A Dnetlink_compat.c35 #include "bearer.h"
409 struct nlattr *bearer[TIPC_NLA_BEARER_MAX + 1]; in tipc_nl_compat_bearer_dump() local
415 err = nla_parse_nested_deprecated(bearer, TIPC_NLA_BEARER_MAX, in tipc_nl_compat_bearer_dump()
421 nla_data(bearer[TIPC_NLA_BEARER_NAME]), in tipc_nl_compat_bearer_dump()
422 nla_len(bearer[TIPC_NLA_BEARER_NAME])); in tipc_nl_compat_bearer_dump()
430 struct nlattr *bearer; in tipc_nl_compat_bearer_enable() local
436 bearer = nla_nest_start_noflag(skb, TIPC_NLA_BEARER); in tipc_nl_compat_bearer_enable()
437 if (!bearer) in tipc_nl_compat_bearer_enable()
463 nla_nest_end(skb, bearer); in tipc_nl_compat_bearer_enable()
473 struct nlattr *bearer; in tipc_nl_compat_bearer_disable() local
753 struct nlattr *bearer; tipc_nl_compat_bearer_set() local
808 struct tipc_bearer *bearer; tipc_nl_compat_link_set() local
[all...]
H A Dudp_media.c1 /* net/tipc/udp_media.c: IP bearer support for TIPC
52 #include "bearer.h"
65 * This is the bearer level originating address used in neighbor discovery
86 * struct udp_bearer - ip/udp bearer data structure
87 * @bearer: associated generic tipc bearer
88 * @ubsock: bearer associated socket
90 * @work: used to schedule deferred work on a bearer
93 struct tipc_bearer __rcu *bearer; member
281 pr_err_ratelimited("UDP bearer instanc in tipc_udp_is_known_peer()
[all...]
H A Dnode.h42 #include "bearer.h"
93 struct tipc_bearer *bearer,
H A Dcrypto.c237 struct tipc_bearer *bearer; member
244 struct tipc_bearer *bearer; member
716 * @b: TIPC bearer where the message will be delivered after the encryption
815 tx_ctx->bearer = b; in tipc_aead_encrypt()
818 /* Hold bearer */ in tipc_aead_encrypt()
841 struct tipc_bearer *b = tx_ctx->bearer; in tipc_aead_encrypt_done()
874 * @b: TIPC bearer where the message has been received
940 rx_ctx->bearer = b; in tipc_aead_decrypt()
942 /* Hold bearer */ in tipc_aead_decrypt()
965 struct tipc_bearer *b = rx_ctx->bearer; in tipc_aead_decrypt_done()
[all...]
/kernel/linux/linux-6.6/net/tipc/
H A Dbearer.c2 * net/tipc/bearer.c: TIPC bearer code
39 #include "bearer.h"
131 * bearer_name_validate - validate & (optionally) deconstruct bearer name
132 * @name: ptr to bearer name string
133 * @name_parts: ptr to area for bearer name components (or NULL if not needed)
135 * Return: 1 if bearer name is valid, otherwise 0.
146 /* copy bearer name & ensure length is OK */ in bearer_name_validate()
150 /* ensure all component parts of bearer name are present */ in bearer_name_validate()
159 /* validate component parts of bearer nam in bearer_name_validate()
819 __tipc_nl_add_bearer(struct tipc_nl_msg *msg, struct tipc_bearer *bearer, int nlflags) __tipc_nl_add_bearer() argument
879 struct tipc_bearer *bearer; tipc_nl_bearer_dump() local
912 struct tipc_bearer *bearer; tipc_nl_bearer_get() local
963 struct tipc_bearer *bearer; __tipc_nl_bearer_disable() local
1006 char *bearer; __tipc_nl_bearer_enable() local
[all...]
H A Dnetlink_compat.c35 #include "bearer.h"
408 struct nlattr *bearer[TIPC_NLA_BEARER_MAX + 1]; in tipc_nl_compat_bearer_dump() local
414 err = nla_parse_nested_deprecated(bearer, TIPC_NLA_BEARER_MAX, in tipc_nl_compat_bearer_dump()
420 nla_data(bearer[TIPC_NLA_BEARER_NAME]), in tipc_nl_compat_bearer_dump()
421 nla_len(bearer[TIPC_NLA_BEARER_NAME])); in tipc_nl_compat_bearer_dump()
429 struct nlattr *bearer; in tipc_nl_compat_bearer_enable() local
435 bearer = nla_nest_start_noflag(skb, TIPC_NLA_BEARER); in tipc_nl_compat_bearer_enable()
436 if (!bearer) in tipc_nl_compat_bearer_enable()
462 nla_nest_end(skb, bearer); in tipc_nl_compat_bearer_enable()
472 struct nlattr *bearer; in tipc_nl_compat_bearer_disable() local
752 struct nlattr *bearer; tipc_nl_compat_bearer_set() local
807 struct tipc_bearer *bearer; tipc_nl_compat_link_set() local
[all...]
H A Dudp_media.c1 /* net/tipc/udp_media.c: IP bearer support for TIPC
52 #include "bearer.h"
65 * This is the bearer level originating address used in neighbor discovery
91 * struct udp_bearer - ip/udp bearer data structure
92 * @bearer: associated generic tipc bearer
93 * @ubsock: bearer associated socket
95 * @work: used to schedule deferred work on a bearer
99 struct tipc_bearer __rcu *bearer; member
287 pr_err_ratelimited("UDP bearer instanc in tipc_udp_is_known_peer()
[all...]
H A Dnode.h42 #include "bearer.h"
93 struct tipc_bearer *bearer,
H A Dcrypto.c241 struct tipc_bearer *bearer; member
248 struct tipc_bearer *bearer; member
723 * @b: TIPC bearer where the message will be delivered after the encryption
811 tx_ctx->bearer = b; in tipc_aead_encrypt()
814 /* Hold bearer */ in tipc_aead_encrypt()
837 struct tipc_bearer *b = tx_ctx->bearer; in tipc_aead_encrypt_done()
870 * @b: TIPC bearer where the message has been received
936 rx_ctx->bearer = b; in tipc_aead_decrypt()
938 /* Hold bearer */ in tipc_aead_decrypt()
961 struct tipc_bearer *b = rx_ctx->bearer; in tipc_aead_decrypt_done()
[all...]

Completed in 11 milliseconds