Home
last modified time | relevance | path

Searched refs:ipa_len (Results 1 – 22 of 22) sorted by relevance

/dports/net/frr7-pythontools/frr-frr-7.5.1/zebra/
H A Dzebra_evpn_mac.c852 int ipa_len; in zebra_evpn_macip_send_msg_to_client() local
868 ipa_len = 0; in zebra_evpn_macip_send_msg_to_client()
875 if (ipa_len) in zebra_evpn_macip_send_msg_to_client()
1353 uint16_t ipa_len, in zebra_evpn_mac_is_bgp_seq_ok() argument
1392 ipa_len ? " IP " : "", in zebra_evpn_mac_is_bgp_seq_ok()
1438 if (!ipa_len) { in zebra_evpn_proc_sync_mac_update()
1493 if (ipa_len) { in zebra_evpn_proc_sync_mac_update()
1584 if (ipa_len) in zebra_evpn_proc_sync_mac_update()
1748 ipa_len ? " IP " : "", in process_mac_remote_macip_add()
1782 if (ipa_len) in process_mac_remote_macip_add()
[all …]
H A Dzebra_evpn.c1299 uint16_t ipa_len, struct ipaddr *ipaddr, in zebra_evpn_process_sync_macip_add() argument
1319 ipa_len ? " IP " : "", in zebra_evpn_process_sync_macip_add()
1320 ipa_len ? ipaddr2str(ipaddr, ipbuf, in zebra_evpn_process_sync_macip_add()
1328 if (ipa_len) { in zebra_evpn_process_sync_macip_add()
1337 zevpn, macaddr, ipa_len, ipaddr, flags, seq, esi, &ctx); in zebra_evpn_process_sync_macip_add()
1338 if (ctx.ignore_macip || !ctx.mac || !ipa_len) in zebra_evpn_process_sync_macip_add()
1348 uint16_t ipa_len, struct ipaddr *ipaddr, in process_remote_macip_add() argument
1424 uint16_t ipa_len, struct ipaddr *ipaddr, in process_remote_macip_del() argument
1460 if (ipa_len) in process_remote_macip_del()
1485 ipa_len ? " IP " : "", in process_remote_macip_del()
[all …]
H A Dzebra_evpn.h205 uint16_t ipa_len, struct ipaddr *ipaddr,
209 uint16_t ipa_len, struct ipaddr *ipaddr,
H A Dzebra_evpn_mac.h235 uint16_t ipa_len, struct ipaddr *ipaddr,
244 struct ethaddr *macaddr, uint16_t ipa_len,
H A Dzebra_vxlan.c3694 STREAM_GETL(s, *ipa_len); in zebra_vxlan_remote_macip_helper()
3696 if (*ipa_len) { in zebra_vxlan_remote_macip_helper()
3697 if (*ipa_len == IPV4_MAX_BYTELEN) in zebra_vxlan_remote_macip_helper()
3706 *ipa_len); in zebra_vxlan_remote_macip_helper()
3712 l += 4 + ETH_ALEN + 4 + *ipa_len; in zebra_vxlan_remote_macip_helper()
3740 uint16_t l = 0, ipa_len; in zebra_vxlan_remote_macip_del() local
3764 ipa_len ? " IP " : "", in zebra_vxlan_remote_macip_del()
3765 ipa_len ? in zebra_vxlan_remote_macip_del()
3789 uint16_t l = 0, ipa_len; in zebra_vxlan_remote_macip_add() local
3828 ipa_len ? " IP " : "", in zebra_vxlan_remote_macip_add()
[all …]
H A Dzebra_evpn_neigh.h243 uint16_t ipa_len, struct ipaddr *ipaddr,
H A Drt_netlink.c2699 int ipa_len; in netlink_neigh_update_msg_encode() local
2740 ipa_len = IS_IPADDR_V4(ip) ? IPV4_MAX_BYTELEN : IPV6_MAX_BYTELEN; in netlink_neigh_update_msg_encode()
2741 if (!nl_attr_put(&req->n, datalen, NDA_DST, &ip->ip.addr, ipa_len)) in netlink_neigh_update_msg_encode()
3499 int ipa_len; in netlink_request_specific_neigh_in_vlan() local
3509 ipa_len = IPV4_MAX_BYTELEN; in netlink_request_specific_neigh_in_vlan()
3513 ipa_len = IPV6_MAX_BYTELEN; in netlink_request_specific_neigh_in_vlan()
3517 nl_attr_put(&req.n, sizeof(req), NDA_DST, &ip->ip.addr, ipa_len); in netlink_request_specific_neigh_in_vlan()
H A Dzebra_evpn_neigh.c655 uint16_t ipa_len, struct ipaddr *ipaddr, in zebra_evpn_proc_sync_neigh_update() argument
/dports/net/frr7/frr-frr-7.5.1/zebra/
H A Dzebra_evpn_mac.c852 int ipa_len; in zebra_evpn_macip_send_msg_to_client() local
868 ipa_len = 0; in zebra_evpn_macip_send_msg_to_client()
875 if (ipa_len) in zebra_evpn_macip_send_msg_to_client()
1353 uint16_t ipa_len, in zebra_evpn_mac_is_bgp_seq_ok() argument
1392 ipa_len ? " IP " : "", in zebra_evpn_mac_is_bgp_seq_ok()
1438 if (!ipa_len) { in zebra_evpn_proc_sync_mac_update()
1493 if (ipa_len) { in zebra_evpn_proc_sync_mac_update()
1584 if (ipa_len) in zebra_evpn_proc_sync_mac_update()
1748 ipa_len ? " IP " : "", in process_mac_remote_macip_add()
1782 if (ipa_len) in process_mac_remote_macip_add()
[all …]
H A Dzebra_evpn.c1299 uint16_t ipa_len, struct ipaddr *ipaddr, in zebra_evpn_process_sync_macip_add() argument
1319 ipa_len ? " IP " : "", in zebra_evpn_process_sync_macip_add()
1320 ipa_len ? ipaddr2str(ipaddr, ipbuf, in zebra_evpn_process_sync_macip_add()
1328 if (ipa_len) { in zebra_evpn_process_sync_macip_add()
1337 zevpn, macaddr, ipa_len, ipaddr, flags, seq, esi, &ctx); in zebra_evpn_process_sync_macip_add()
1338 if (ctx.ignore_macip || !ctx.mac || !ipa_len) in zebra_evpn_process_sync_macip_add()
1348 uint16_t ipa_len, struct ipaddr *ipaddr, in process_remote_macip_add() argument
1424 uint16_t ipa_len, struct ipaddr *ipaddr, in process_remote_macip_del() argument
1460 if (ipa_len) in process_remote_macip_del()
1485 ipa_len ? " IP " : "", in process_remote_macip_del()
[all …]
H A Dzebra_evpn.h205 uint16_t ipa_len, struct ipaddr *ipaddr,
209 uint16_t ipa_len, struct ipaddr *ipaddr,
H A Dzebra_evpn_mac.h235 uint16_t ipa_len, struct ipaddr *ipaddr,
244 struct ethaddr *macaddr, uint16_t ipa_len,
H A Dzebra_vxlan.c3694 STREAM_GETL(s, *ipa_len); in zebra_vxlan_remote_macip_helper()
3696 if (*ipa_len) { in zebra_vxlan_remote_macip_helper()
3697 if (*ipa_len == IPV4_MAX_BYTELEN) in zebra_vxlan_remote_macip_helper()
3706 *ipa_len); in zebra_vxlan_remote_macip_helper()
3712 l += 4 + ETH_ALEN + 4 + *ipa_len; in zebra_vxlan_remote_macip_helper()
3740 uint16_t l = 0, ipa_len; in zebra_vxlan_remote_macip_del() local
3764 ipa_len ? " IP " : "", in zebra_vxlan_remote_macip_del()
3765 ipa_len ? in zebra_vxlan_remote_macip_del()
3789 uint16_t l = 0, ipa_len; in zebra_vxlan_remote_macip_add() local
3828 ipa_len ? " IP " : "", in zebra_vxlan_remote_macip_add()
[all …]
H A Dzebra_evpn_neigh.h243 uint16_t ipa_len, struct ipaddr *ipaddr,
H A Drt_netlink.c2699 int ipa_len; in netlink_neigh_update_msg_encode() local
2740 ipa_len = IS_IPADDR_V4(ip) ? IPV4_MAX_BYTELEN : IPV6_MAX_BYTELEN; in netlink_neigh_update_msg_encode()
2741 if (!nl_attr_put(&req->n, datalen, NDA_DST, &ip->ip.addr, ipa_len)) in netlink_neigh_update_msg_encode()
3499 int ipa_len; in netlink_request_specific_neigh_in_vlan() local
3509 ipa_len = IPV4_MAX_BYTELEN; in netlink_request_specific_neigh_in_vlan()
3513 ipa_len = IPV6_MAX_BYTELEN; in netlink_request_specific_neigh_in_vlan()
3517 nl_attr_put(&req.n, sizeof(req), NDA_DST, &ip->ip.addr, ipa_len); in netlink_request_specific_neigh_in_vlan()
H A Dzebra_evpn_neigh.c655 uint16_t ipa_len, struct ipaddr *ipaddr, in zebra_evpn_proc_sync_neigh_update() argument
/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/
H A Dstream.c639 uint16_t ipa_len; in stream_get_ipaddr() local
653 ipa_len = IPV4_MAX_BYTELEN; in stream_get_ipaddr()
656 ipa_len = IPV6_MAX_BYTELEN; in stream_get_ipaddr()
664 if (STREAM_READABLE(s) < ipa_len) { in stream_get_ipaddr()
668 memcpy(&ip->ip, s->data + s->getp, ipa_len); in stream_get_ipaddr()
669 s->getp += ipa_len; in stream_get_ipaddr()
/dports/net/frr7/frr-frr-7.5.1/lib/
H A Dstream.c639 uint16_t ipa_len; in stream_get_ipaddr() local
653 ipa_len = IPV4_MAX_BYTELEN; in stream_get_ipaddr()
656 ipa_len = IPV6_MAX_BYTELEN; in stream_get_ipaddr()
664 if (STREAM_READABLE(s) < ipa_len) { in stream_get_ipaddr()
668 memcpy(&ip->ip, s->data + s->getp, ipa_len); in stream_get_ipaddr()
669 s->getp += ipa_len; in stream_get_ipaddr()
/dports/net/frr7-pythontools/frr-frr-7.5.1/bgpd/
H A Dbgp_zebra.c2701 int ipa_len; in bgp_zebra_process_local_macip() local
2714 ipa_len = stream_getl(s); in bgp_zebra_process_local_macip()
2715 if (ipa_len != 0 && ipa_len != IPV4_MAX_BYTELEN in bgp_zebra_process_local_macip()
2716 && ipa_len != IPV6_MAX_BYTELEN) { in bgp_zebra_process_local_macip()
2720 ipa_len); in bgp_zebra_process_local_macip()
2724 if (ipa_len) { in bgp_zebra_process_local_macip()
2726 (ipa_len == IPV4_MAX_BYTELEN) ? IPADDR_V4 : IPADDR_V6; in bgp_zebra_process_local_macip()
2727 stream_get(&ip.ip.addr, s, ipa_len); in bgp_zebra_process_local_macip()
H A Dbgp_evpn.c591 int ipa_len; in bgp_zebra_send_remote_macip() local
624 ipa_len = is_evpn_prefix_ipaddr_v4(p) ? IPV4_MAX_BYTELEN in bgp_zebra_send_remote_macip()
626 stream_putl(s, ipa_len); in bgp_zebra_send_remote_macip()
4687 int len, ipa_len = 0; in bgp_evpn_encode_prefix() local
4698 ipa_len = IPV4_MAX_BYTELEN; in bgp_evpn_encode_prefix()
4700 ipa_len = IPV6_MAX_BYTELEN; in bgp_evpn_encode_prefix()
4702 len = 8 + 10 + 4 + 1 + 6 + 1 + ipa_len + 3; in bgp_evpn_encode_prefix()
4714 stream_putc(s, 8 * ipa_len); /* IP address Length */ in bgp_evpn_encode_prefix()
4715 if (ipa_len) /* IP */ in bgp_evpn_encode_prefix()
4717 ipa_len); in bgp_evpn_encode_prefix()
[all …]
/dports/net/frr7/frr-frr-7.5.1/bgpd/
H A Dbgp_zebra.c2701 int ipa_len; in bgp_zebra_process_local_macip() local
2714 ipa_len = stream_getl(s); in bgp_zebra_process_local_macip()
2715 if (ipa_len != 0 && ipa_len != IPV4_MAX_BYTELEN in bgp_zebra_process_local_macip()
2716 && ipa_len != IPV6_MAX_BYTELEN) { in bgp_zebra_process_local_macip()
2720 ipa_len); in bgp_zebra_process_local_macip()
2724 if (ipa_len) { in bgp_zebra_process_local_macip()
2726 (ipa_len == IPV4_MAX_BYTELEN) ? IPADDR_V4 : IPADDR_V6; in bgp_zebra_process_local_macip()
2727 stream_get(&ip.ip.addr, s, ipa_len); in bgp_zebra_process_local_macip()
H A Dbgp_evpn.c591 int ipa_len; in bgp_zebra_send_remote_macip() local
624 ipa_len = is_evpn_prefix_ipaddr_v4(p) ? IPV4_MAX_BYTELEN in bgp_zebra_send_remote_macip()
626 stream_putl(s, ipa_len); in bgp_zebra_send_remote_macip()
4687 int len, ipa_len = 0; in bgp_evpn_encode_prefix() local
4698 ipa_len = IPV4_MAX_BYTELEN; in bgp_evpn_encode_prefix()
4700 ipa_len = IPV6_MAX_BYTELEN; in bgp_evpn_encode_prefix()
4702 len = 8 + 10 + 4 + 1 + 6 + 1 + ipa_len + 3; in bgp_evpn_encode_prefix()
4714 stream_putc(s, 8 * ipa_len); /* IP address Length */ in bgp_evpn_encode_prefix()
4715 if (ipa_len) /* IP */ in bgp_evpn_encode_prefix()
4717 ipa_len); in bgp_evpn_encode_prefix()
[all …]