Home
last modified time | relevance | path

Searched refs:bh_type (Results 1 – 25 of 42) sorted by relevance

12

/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/
H A Dnexthop.c147 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 Dnexthop.h110 enum blackhole_type bh_type; member
181 struct nexthop *nexthop_from_blackhole(enum blackhole_type bh_type);
H A Dzclient.h406 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 Dzclient.c866 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 Dnexthop_group.c189 if (nexthop->bh_type != nh->bh_type) in nhg_nh_find()
/dports/net/frr7/frr-frr-7.5.1/lib/
H A Dnexthop.c147 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 Dnexthop.h110 enum blackhole_type bh_type; member
181 struct nexthop *nexthop_from_blackhole(enum blackhole_type bh_type);
H A Dzclient.h406 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 Dzclient.c866 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 Drt_socket.c84 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 Drt_netlink.c397 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 Dkernel_socket.c1088 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 Dzebra_fpm_protobuf.c184 switch (nexthop->bh_type) { in create_add_route_message()
/dports/net/frr7/frr-frr-7.5.1/zebra/
H A Drt_socket.c84 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 Drt_netlink.c397 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 Dkernel_socket.c1088 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 Dzebra_fpm_protobuf.c184 switch (nexthop->bh_type) { in create_add_route_message()
/dports/net/frr7-pythontools/frr-frr-7.5.1/staticd/
H A Dstatic_vty.c61 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 Dstatic_zebra.c476 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 Dstatic_routes.h118 enum static_blackhole_type bh_type; member
/dports/net/frr7/frr-frr-7.5.1/staticd/
H A Dstatic_vty.c61 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 Dstatic_zebra.c476 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 Dstatic_routes.h118 enum static_blackhole_type bh_type; member
/dports/net/frr7/frr-frr-7.5.1/pbrd/
H A Dpbr_zebra.c296 api_nh->bh_type = nhop->bh_type; in route_add_helper()
/dports/net/frr7-pythontools/frr-frr-7.5.1/pbrd/
H A Dpbr_zebra.c296 api_nh->bh_type = nhop->bh_type; in route_add_helper()

12