diff options
author | 2020-12-02 14:05:13 +0100 | |
---|---|---|
committer | 2020-12-04 13:30:50 -0800 | |
commit | cfdf64a03406351a9d6c1fe568a141a9a85d4710 (patch) | |
tree | 3e5de5891f8fc237b8825be93aca2d0688c9ddf0 /net/tipc | |
parent | seg6: add support for optional attributes in SRv6 behaviors (diff) | |
download | linux-rng-cfdf64a03406351a9d6c1fe568a141a9a85d4710.tar.xz linux-rng-cfdf64a03406351a9d6c1fe568a141a9a85d4710.zip |
seg6: add callbacks for customizing the creation/destruction of a behavior
We introduce two callbacks used for customizing the creation/destruction of
a SRv6 behavior. Such callbacks are defined in the new struct
seg6_local_lwtunnel_ops and hereafter we provide a brief description of
them:
- build_state(...): used for calling the custom constructor of the
behavior during its initialization phase and after all the attributes
have been parsed successfully;
- destroy_state(...): used for calling the custom destructor of the
behavior before it is completely destroyed.
Signed-off-by: Andrea Mayer <andrea.mayer@uniroma2.it>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions