Home
last modified time | relevance | path

Searched refs:BGP_HEADER_SIZE (Results 1 – 19 of 19) sorted by relevance

/dports/net/quagga/quagga-1.2.4/bgpd/
H A Dbgpd.h614 #define BGP_HEADER_SIZE 19 macro
618 #define BGP_MSG_OPEN_MIN_SIZE (BGP_HEADER_SIZE + 10)
619 #define BGP_MSG_UPDATE_MIN_SIZE (BGP_HEADER_SIZE + 4)
620 #define BGP_MSG_NOTIFY_MIN_SIZE (BGP_HEADER_SIZE + 2)
621 #define BGP_MSG_KEEPALIVE_MIN_SIZE (BGP_HEADER_SIZE + 0)
622 #define BGP_MSG_ROUTE_REFRESH_MIN_SIZE (BGP_HEADER_SIZE + 4)
623 #define BGP_MSG_CAPABILITY_MIN_SIZE (BGP_HEADER_SIZE + 3)
H A Dbgp_packet.c442 = stream_get_endp (s) - BGP_HEADER_SIZE - BGP_UNFEASIBLE_LEN; in bgp_withdraw_packet()
443 stream_putw_at (s, BGP_HEADER_SIZE, unfeasible_len); in bgp_withdraw_packet()
812 assert (stream_get_endp (s) >= BGP_HEADER_SIZE); in bgp_write_notify()
2167 if (size != BGP_MSG_ROUTE_REFRESH_MIN_SIZE - BGP_HEADER_SIZE) in bgp_route_refresh_receive()
2174 if (size - (BGP_MSG_ROUTE_REFRESH_MIN_SIZE - BGP_HEADER_SIZE) < 5) in bgp_route_refresh_receive()
2586 peer->packet_size = BGP_HEADER_SIZE; in bgp_read()
2588 if (stream_get_endp (peer->ibuf) < BGP_HEADER_SIZE) in bgp_read()
2604 peer->host, type, size - BGP_HEADER_SIZE); in bgp_read()
2634 if ((size < BGP_HEADER_SIZE) in bgp_read()
2672 size = (peer->packet_size - BGP_HEADER_SIZE); in bgp_read()
/dports/net-mgmt/pmacct/pmacct-1.7.5/src/bgp/
H A Dbgp_packet.h38 #define BGP_HEADER_SIZE 19 /* size of BGP header, including marker */ macro
42 #define BGP_MIN_KEEPALVE_MSG_SIZE BGP_HEADER_SIZE
H A Dbgp_msg.c49 if (peer->msglen < BGP_HEADER_SIZE && bgp_packet_ptr == peer->buf.base) { in bgp_parse_msg()
441 bhdr.bgpo_len = htons(BGP_HEADER_SIZE); in bgp_write_keepalive_msg()
444 return BGP_HEADER_SIZE; in bgp_write_keepalive_msg()
623 end -= BGP_HEADER_SIZE; in bgp_parse_update_msg()
624 pkt += BGP_HEADER_SIZE; in bgp_parse_update_msg()
H A Dbgp.c907 … ret = recv(recv_fd, &peer->buf.base[peer->buf.cur_len], (BGP_HEADER_SIZE - peer->buf.cur_len), 0); in skinny_bgp_daemon_online()
912 if (peer->buf.cur_len == BGP_HEADER_SIZE) { in skinny_bgp_daemon_online()
/dports/net/frr7-pythontools/frr-frr-7.5.1/bgpd/
H A Dbgpd.h805 #define BGP_HEADER_SIZE 19 macro
1544 #define BGP_MSG_OPEN_MIN_SIZE (BGP_HEADER_SIZE + 10)
1545 #define BGP_MSG_UPDATE_MIN_SIZE (BGP_HEADER_SIZE + 4)
1546 #define BGP_MSG_NOTIFY_MIN_SIZE (BGP_HEADER_SIZE + 2)
1547 #define BGP_MSG_KEEPALIVE_MIN_SIZE (BGP_HEADER_SIZE + 0)
1548 #define BGP_MSG_ROUTE_REFRESH_MIN_SIZE (BGP_HEADER_SIZE + 4)
1549 #define BGP_MSG_CAPABILITY_MIN_SIZE (BGP_HEADER_SIZE + 3)
H A Dbgp_io.c210 if (ringbuf_remain(ibw) < BGP_HEADER_SIZE) in bgp_process_reads()
554 if ((size < BGP_HEADER_SIZE) || (size > BGP_MAX_PACKET_SIZE) in validate_header()
H A Dbgp_packet.c608 assert(stream_get_endp(s) >= BGP_HEADER_SIZE); in bgp_write_notify()
1937 if (size != BGP_MSG_ROUTE_REFRESH_MIN_SIZE - BGP_HEADER_SIZE) { in bgp_route_refresh_receive()
1943 if (size - (BGP_MSG_ROUTE_REFRESH_MIN_SIZE - BGP_HEADER_SIZE) in bgp_route_refresh_receive()
2366 size -= BGP_HEADER_SIZE; in bgp_process_packet()
H A Dbgp_updgrp_packet.c1081 unfeasible_len = stream_get_endp(s) - BGP_HEADER_SIZE in subgroup_withdraw_packet()
1083 stream_putw_at(s, BGP_HEADER_SIZE, unfeasible_len); in subgroup_withdraw_packet()
H A Dbgp_bmp.c859 unfeasible_len = stream_get_endp(s) - BGP_HEADER_SIZE in bmp_withdraw()
861 stream_putw_at(s, BGP_HEADER_SIZE, unfeasible_len); in bmp_withdraw()
/dports/net/frr7/frr-frr-7.5.1/bgpd/
H A Dbgpd.h805 #define BGP_HEADER_SIZE 19 macro
1544 #define BGP_MSG_OPEN_MIN_SIZE (BGP_HEADER_SIZE + 10)
1545 #define BGP_MSG_UPDATE_MIN_SIZE (BGP_HEADER_SIZE + 4)
1546 #define BGP_MSG_NOTIFY_MIN_SIZE (BGP_HEADER_SIZE + 2)
1547 #define BGP_MSG_KEEPALIVE_MIN_SIZE (BGP_HEADER_SIZE + 0)
1548 #define BGP_MSG_ROUTE_REFRESH_MIN_SIZE (BGP_HEADER_SIZE + 4)
1549 #define BGP_MSG_CAPABILITY_MIN_SIZE (BGP_HEADER_SIZE + 3)
H A Dbgp_io.c210 if (ringbuf_remain(ibw) < BGP_HEADER_SIZE) in bgp_process_reads()
554 if ((size < BGP_HEADER_SIZE) || (size > BGP_MAX_PACKET_SIZE) in validate_header()
H A Dbgp_packet.c608 assert(stream_get_endp(s) >= BGP_HEADER_SIZE); in bgp_write_notify()
1937 if (size != BGP_MSG_ROUTE_REFRESH_MIN_SIZE - BGP_HEADER_SIZE) { in bgp_route_refresh_receive()
1943 if (size - (BGP_MSG_ROUTE_REFRESH_MIN_SIZE - BGP_HEADER_SIZE) in bgp_route_refresh_receive()
2366 size -= BGP_HEADER_SIZE; in bgp_process_packet()
H A Dbgp_updgrp_packet.c1081 unfeasible_len = stream_get_endp(s) - BGP_HEADER_SIZE in subgroup_withdraw_packet()
1083 stream_putw_at(s, BGP_HEADER_SIZE, unfeasible_len); in subgroup_withdraw_packet()
H A Dbgp_bmp.c859 unfeasible_len = stream_get_endp(s) - BGP_HEADER_SIZE in bmp_withdraw()
861 stream_putw_at(s, BGP_HEADER_SIZE, unfeasible_len); in bmp_withdraw()
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-bgp.c94 #define BGP_HEADER_SIZE 19 /* size of BGP header, including marker */ macro
98 #define BGP_MIN_KEEPALVE_MSG_SIZE BGP_HEADER_SIZE
9947 o = BGP_HEADER_SIZE; in dissect_bgp_update()
10041 offset += BGP_HEADER_SIZE; in dissect_bgp_capability()
10163 p = BGP_HEADER_SIZE; in dissect_bgp_route_refresh()
10177 if ( hlen == BGP_HEADER_SIZE + 4 ) in dissect_bgp_route_refresh()
10301 if (bgp_len < BGP_HEADER_SIZE || bgp_len > BGP_MAX_PACKET_SIZE) { in dissect_bgp_pdu()
10426 if (length_remaining < BGP_HEADER_SIZE) { in dissect_bgp()
10444 if (bgp_len < BGP_HEADER_SIZE) { in dissect_bgp()
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-bgp.c94 #define BGP_HEADER_SIZE 19 /* size of BGP header, including marker */
98 #define BGP_MIN_KEEPALVE_MSG_SIZE BGP_HEADER_SIZE
9947 o = BGP_HEADER_SIZE;
10041 offset += BGP_HEADER_SIZE;
10163 p = BGP_HEADER_SIZE;
10177 if ( hlen == BGP_HEADER_SIZE + 4 )
10301 if (bgp_len < BGP_HEADER_SIZE || bgp_len > BGP_MAX_PACKET_SIZE) {
10426 if (length_remaining < BGP_HEADER_SIZE) {
10444 if (bgp_len < BGP_HEADER_SIZE) {
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-bgp.c94 #define BGP_HEADER_SIZE 19 /* size of BGP header, including marker */ macro
98 #define BGP_MIN_KEEPALVE_MSG_SIZE BGP_HEADER_SIZE
9947 o = BGP_HEADER_SIZE; in dissect_bgp_update()
10041 offset += BGP_HEADER_SIZE; in dissect_bgp_capability()
10163 p = BGP_HEADER_SIZE; in dissect_bgp_route_refresh()
10177 if ( hlen == BGP_HEADER_SIZE + 4 ) in dissect_bgp_route_refresh()
10301 if (bgp_len < BGP_HEADER_SIZE || bgp_len > BGP_MAX_PACKET_SIZE) { in dissect_bgp_pdu()
10426 if (length_remaining < BGP_HEADER_SIZE) { in dissect_bgp()
10444 if (bgp_len < BGP_HEADER_SIZE) { in dissect_bgp()
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-bgp.c94 #define BGP_HEADER_SIZE 19 /* size of BGP header, including marker */ macro
98 #define BGP_MIN_KEEPALVE_MSG_SIZE BGP_HEADER_SIZE
9947 o = BGP_HEADER_SIZE; in dissect_bgp_update()
10041 offset += BGP_HEADER_SIZE; in dissect_bgp_capability()
10163 p = BGP_HEADER_SIZE; in dissect_bgp_route_refresh()
10177 if ( hlen == BGP_HEADER_SIZE + 4 ) in dissect_bgp_route_refresh()
10301 if (bgp_len < BGP_HEADER_SIZE || bgp_len > BGP_MAX_PACKET_SIZE) { in dissect_bgp_pdu()
10426 if (length_remaining < BGP_HEADER_SIZE) { in dissect_bgp()
10444 if (bgp_len < BGP_HEADER_SIZE) { in dissect_bgp()