/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/ |
H A D | nexthop.c | 147 if (next1->bh_type < next2->bh_type) in _nexthop_cmp_no_labels() 150 if (next1->bh_type > next2->bh_type) in _nexthop_cmp_no_labels() 419 struct nexthop *nexthop_from_blackhole(enum blackhole_type bh_type) in nexthop_from_blackhole() argument 426 nexthop->bh_type = bh_type; in nexthop_from_blackhole() 805 switch (nexthop->bh_type) { in printfrr_nh()
|
H A D | nexthop.h | 110 enum blackhole_type bh_type; member 181 struct nexthop *nexthop_from_blackhole(enum blackhole_type bh_type);
|
H A D | zclient.h | 406 enum blackhole_type bh_type; member 883 enum blackhole_type bh_type) in zapi_route_set_blackhole() argument 888 api->nexthops[0].bh_type = bh_type; in zapi_route_set_blackhole()
|
H A D | zclient.c | 866 if (next1->bh_type < next2->bh_type) in zapi_nexthop_cmp_no_labels() 869 if (next1->bh_type > next2->bh_type) in zapi_nexthop_cmp_no_labels() 963 stream_putc(s, api_nh->bh_type); in zapi_nexthop_encode() 1187 STREAM_GETC(s, api_nh->bh_type); in zapi_nexthop_decode()
|
H A D | nexthop_group.c | 189 if (nexthop->bh_type != nh->bh_type) in nhg_nh_find()
|
/dports/net/frr7/frr-frr-7.5.1/lib/ |
H A D | nexthop.c | 147 if (next1->bh_type < next2->bh_type) in _nexthop_cmp_no_labels() 150 if (next1->bh_type > next2->bh_type) in _nexthop_cmp_no_labels() 419 struct nexthop *nexthop_from_blackhole(enum blackhole_type bh_type) in nexthop_from_blackhole() argument 426 nexthop->bh_type = bh_type; in nexthop_from_blackhole() 805 switch (nexthop->bh_type) { in printfrr_nh()
|
H A D | nexthop.h | 110 enum blackhole_type bh_type; member 181 struct nexthop *nexthop_from_blackhole(enum blackhole_type bh_type);
|
H A D | zclient.h | 406 enum blackhole_type bh_type; member 883 enum blackhole_type bh_type) in zapi_route_set_blackhole() argument 888 api->nexthops[0].bh_type = bh_type; in zapi_route_set_blackhole()
|
H A D | zclient.c | 866 if (next1->bh_type < next2->bh_type) in zapi_nexthop_cmp_no_labels() 869 if (next1->bh_type > next2->bh_type) in zapi_nexthop_cmp_no_labels() 963 stream_putc(s, api_nh->bh_type); in zapi_nexthop_encode() 1187 STREAM_GETC(s, api_nh->bh_type); in zapi_nexthop_decode()
|
/dports/net/frr7-pythontools/frr-frr-7.5.1/zebra/ |
H A D | rt_socket.c | 84 enum blackhole_type bh_type = BLACKHOLE_UNSPEC; in kernel_rtm() local 178 bh_type = nexthop->bh_type; in kernel_rtm() 235 ifindex, bh_type, metric); in kernel_rtm()
|
H A D | rt_netlink.c | 397 if (bh_type == BLACKHOLE_UNSPEC) { in parse_nexthop_unicast() 408 nh.bh_type = bh_type; in parse_nexthop_unicast() 412 nh.bh_type = bh_type; in parse_nexthop_unicast() 573 enum blackhole_type bh_type = BLACKHOLE_UNSPEC; in netlink_route_change_read_unicast() local 583 bh_type = BLACKHOLE_NULL; in netlink_route_change_read_unicast() 586 bh_type = BLACKHOLE_REJECT; in netlink_route_change_read_unicast() 589 bh_type = BLACKHOLE_ADMINPROHIB; in netlink_route_change_read_unicast() 783 ns_id, rtm, tb, bh_type, index, prefsrc, in netlink_route_change_read_unicast() 846 ns_id, rtm, tb, bh_type, index, prefsrc, in netlink_route_change_read_unicast() 1758 switch (nexthop->bh_type) { in netlink_route_multipath_msg_encode() [all …]
|
H A D | kernel_socket.c | 1088 nh.bh_type = BLACKHOLE_REJECT; in rtm_read() 1091 nh.bh_type = BLACKHOLE_NULL; in rtm_read() 1163 enum blackhole_type bh_type, int metric) in rtm_write() argument 1254 switch (bh_type) { in rtm_write()
|
H A D | zebra_fpm_protobuf.c | 184 switch (nexthop->bh_type) { in create_add_route_message()
|
/dports/net/frr7/frr-frr-7.5.1/zebra/ |
H A D | rt_socket.c | 84 enum blackhole_type bh_type = BLACKHOLE_UNSPEC; in kernel_rtm() local 178 bh_type = nexthop->bh_type; in kernel_rtm() 235 ifindex, bh_type, metric); in kernel_rtm()
|
H A D | rt_netlink.c | 397 if (bh_type == BLACKHOLE_UNSPEC) { in parse_nexthop_unicast() 408 nh.bh_type = bh_type; in parse_nexthop_unicast() 412 nh.bh_type = bh_type; in parse_nexthop_unicast() 573 enum blackhole_type bh_type = BLACKHOLE_UNSPEC; in netlink_route_change_read_unicast() local 583 bh_type = BLACKHOLE_NULL; in netlink_route_change_read_unicast() 586 bh_type = BLACKHOLE_REJECT; in netlink_route_change_read_unicast() 589 bh_type = BLACKHOLE_ADMINPROHIB; in netlink_route_change_read_unicast() 783 ns_id, rtm, tb, bh_type, index, prefsrc, in netlink_route_change_read_unicast() 846 ns_id, rtm, tb, bh_type, index, prefsrc, in netlink_route_change_read_unicast() 1758 switch (nexthop->bh_type) { in netlink_route_multipath_msg_encode() [all …]
|
H A D | kernel_socket.c | 1088 nh.bh_type = BLACKHOLE_REJECT; in rtm_read() 1091 nh.bh_type = BLACKHOLE_NULL; in rtm_read() 1163 enum blackhole_type bh_type, int metric) in rtm_write() argument 1254 switch (bh_type) { in rtm_write()
|
H A D | zebra_fpm_protobuf.c | 184 switch (nexthop->bh_type) { in create_add_route_message()
|
/dports/net/frr7-pythontools/frr-frr-7.5.1/staticd/ |
H A D | static_vty.c | 61 const char *bh_type; in static_route_leak() local 200 bh_type = "reject"; in static_route_leak() 203 bh_type = "unspec"; in static_route_leak() 206 bh_type = "null"; in static_route_leak() 209 bh_type = NULL; in static_route_leak() 213 NB_OP_MODIFY, bh_type); in static_route_leak() 374 switch (nh->bh_type) { in static_config()
|
H A D | static_zebra.c | 476 switch (nh->bh_type) { in static_zebra_route_add() 479 api_nh->bh_type = BLACKHOLE_NULL; in static_zebra_route_add() 482 api_nh->bh_type = BLACKHOLE_REJECT; in static_zebra_route_add()
|
H A D | static_routes.h | 118 enum static_blackhole_type bh_type; member
|
/dports/net/frr7/frr-frr-7.5.1/staticd/ |
H A D | static_vty.c | 61 const char *bh_type; in static_route_leak() local 200 bh_type = "reject"; in static_route_leak() 203 bh_type = "unspec"; in static_route_leak() 206 bh_type = "null"; in static_route_leak() 209 bh_type = NULL; in static_route_leak() 213 NB_OP_MODIFY, bh_type); in static_route_leak() 374 switch (nh->bh_type) { in static_config()
|
H A D | static_zebra.c | 476 switch (nh->bh_type) { in static_zebra_route_add() 479 api_nh->bh_type = BLACKHOLE_NULL; in static_zebra_route_add() 482 api_nh->bh_type = BLACKHOLE_REJECT; in static_zebra_route_add()
|
H A D | static_routes.h | 118 enum static_blackhole_type bh_type; member
|
/dports/net/frr7/frr-frr-7.5.1/pbrd/ |
H A D | pbr_zebra.c | 296 api_nh->bh_type = nhop->bh_type; in route_add_helper()
|
/dports/net/frr7-pythontools/frr-frr-7.5.1/pbrd/ |
H A D | pbr_zebra.c | 296 api_nh->bh_type = nhop->bh_type; in route_add_helper()
|