2 * Copyright (c) 2015-2016 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 /** \brief IPv6 segment routing tunnel add / del request
17 @param client_index - opaque cookie to identify the sender
18 @param context - sender context, to match reply w/ request
19 @param is_add - add the tunnel if non-zero, else delete it
20 @param name[] - tunnel name (len. 64)
21 @param src_address[] -
22 @param dst_address[] -
23 @param dst_mask_width -
26 @param flags_net_byte_order -
29 @param segs_and_tags[] -
30 @param policy_name[] - name of policy to associate this tunnel to (len. 64)
32 define sr_tunnel_add_del
43 u16 flags_net_byte_order;
50 /** \brief IPv6 segment routing tunnel add / del response
51 @param context - sender context, to match reply w/ request
52 @param retval - return value for request
54 define sr_tunnel_add_del_reply
60 /** \brief IPv6 segment routing policy add / del request
61 @param client_index - opaque cookie to identify the sender
62 @param context - sender context, to match reply w/ request
63 @param is_add - add the tunnel if non-zero, else delete it
64 @param name[] - policy name (len. 64)
65 @param tunnel_names[] -
67 define sr_policy_add_del
76 /** \brief IPv6 segment routing policy add / del response
77 @param context - sender context, to match reply w/ request
78 @param retval - return value for request
82 define sr_policy_add_del_reply
88 /** \brief IPv6 segment routing multicast map to policy add / del request
89 @param client_index - opaque cookie to identify the sender
90 @param context - sender context, to match reply w/ request
91 @param is_add - add the tunnel if non-zero, else delete it
92 @param multicast_address[] - IP6 multicast address
93 @param policy_name[] = policy name (len.64)
95 define sr_multicast_map_add_del
100 u8 multicast_address[16];
104 /** \brief IPv6 segment routing multicast map to policy add / del response
105 @param context - sender context, to match reply w/ request
106 @param retval - return value for request
108 define sr_multicast_map_add_del_reply
116 * eval: (c-set-style "gnu")