aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/python/vpp_papi/vpp_transport_socket.py
AgeCommit message (Expand)AuthorFilesLines
2019-12-03papi: add a per-call _timeout optionPaul Vinciguerra1-2/+4
2019-10-14papi: fix socket sendall callsVratko Polak1-4/+6
2019-10-11papi: harden socket handlingVratko Polak1-18/+24
2019-09-04api: memclnt api use string type.Ole Troan1-1/+1
2019-06-26papi: prevent message_table inconsistenciesVratko Polak1-0/+2
2019-06-18misc: vpp_papi- add tests, clean up pep8Paul Vinciguerra1-0/+2
2019-06-12papi: make socket disconnect more robustVratko Polak1-1/+1
2019-06-07API: Add support for "defaults"Ole Troan1-6/+6
2019-05-28papi: avoid IOError on disconnectVratko Polak1-5/+14
2019-05-10vpp_transport_socket: make connect more resilientVratko Polak1-11/+32
2019-05-09Improve exceptions in vpp_transport_socket.pyVratko Polak1-2/+4
2019-05-09Fix copypaste in vpp_papi/vpp_transport_socket.pyVratko Polak1-3/+2
2019-05-08Fix Exception typo in vpp_papi/vpp_transport_socket.py.Paul Vinciguerra1-1/+1
2019-05-07Allow repeated connects on PAPI socket transportVratko Polak1-1/+10
2019-04-23API: Python and Unix domain socket improvementOle Troan1-27/+19
2018-12-13API: Use string type instead of u8.Ole Troan1-2/+1
2018-11-29vpp_papi: Add custom exceptions.Paul Vinciguerra1-4/+11
2018-11-29vpp_papi: Fix: raise NotImplemented.Paul Vinciguerra1-1/+1
2018-11-29VPP-1508: vpp_transport_socket.py fix importPaul Vinciguerra1-1/+4
2018-11-28vpp_papi: Reserved keywords.Paul Vinciguerra1-1/+1
2018-11-28vpp_papi: Use new style classes.Paul Vinciguerra1-1/+1
2018-11-05Provide return value for PAPI disconnect()Igor Mikhailov (imichail)1-0/+2
2018-10-16PAPI: Add timeout support for socket transportOle Troan1-3/+6
2018-10-02PAPI: Use UNIX domain sockets instead of shared memoryOle Troan1-0/+176
an class="cp">_ (0x0065, rtp_iphc_compressed_non_tcp) \ _ (0x0067, rtp_iphc_compressed_udp_8) \ _ (0x0069, rtp_iphc_compressed_rtp_8) \ _ (0x006f, stampede) \ _ (0x0073, mp_plus) \ _ (0x007d, control) \ _ (0x00c1, ntcits_ipi) \ _ (0x00cf, ppp_nlpid) \ _ (0x00fb, multilink_compression) \ _ (0x00fd, compressed_datagram) \ _ (0x0201, 802_1d_hello) \ _ (0x0203, ibm_source_routing) \ _ (0x0205, dec_lanbridge) \ _ (0x0207, cdp) \ _ (0x0209, netcs) \ _ (0x020b, stp) \ _ (0x020d, edp) \ _ (0x0211, oscp_a) \ _ (0x0213, oscp_b) \ _ (0x0231, luxcom) \ _ (0x0233, sigma) \ _ (0x0235, apple_client_server) \ _ (0x0281, mpls_unicast) \ _ (0x0283, mpls_multicast) \ _ (0x0285, ieee_p1284_4) \ _ (0x0287, tetra) \ _ (0x0289, multichannel_flow_treatment) \ _ (0x2063, rtp_iphc_compressed_tcp_no_delta) \ _ (0x2065, rtp_iphc_context_state) \ _ (0x2067, rtp_iphc_compressed_udp_16) \ _ (0x2069, rtp_iphc_compressed_rtp_16) \ _ (0x4001, cray) \ _ (0x4003, cdpd) \ _ (0x4005, expand) \ _ (0x4007, odsicp) \ _ (0x4009, docsis_dll) \ _ (0x400B, cetacean) \ _ (0x4021, lzs) \ _ (0x4023, reftek) \ _ (0x4025, fibre_channel) \ _ (0x4027, emit) \ _ (0x405b, vendor_specific_b) \ _ (0xc021, lcp) \ _ (0xc023, pap) \ _ (0xc025, link_quality_report) \ _ (0xc027, shiva_password) \ _ (0xc029, cbcp) \ _ (0xc02b, bacp) \ _ (0xc02d, bap) \ _ (0xc05b, vendor_specific_password) \ _ (0xc081, container_control) \ _ (0xc223, chap) \ _ (0xc225, rsa) \ _ (0xc227, extensible_authentication) \ _ (0xc229, mitsubishi_security_info) \ _ (0xc26f, stampede_authorization) \ _ (0xc281, proprietary_authentication_a) \ _ (0xc283, proprietary_authentication_b) \ _ (0xc481, proprietary_node_id_authentication) typedef enum { #define _(n,f) PPP_PROTOCOL_##f = n, foreach_ppp_protocol #undef _ } ppp_protocol_t; /* PPP Link Control Protocol (LCP) and Internet Protocol Control Protocol (IPCP) Codes The Point-to-Point Protocol (PPP) Link Control Protocol (LCP), the Compression Control Protocol (CCP), Internet Protocol Control Protocol (IPCP), and other control protocols, contain an 8 bit Code field which identifies the type of packet. */ #define foreach_ppp_lcp_code \ _ (0, vendor_specific) \ _ (1, configure_request) \ _ (2, configure_ack) \ _ (3, configure_nak) \ _ (4, configure_reject) \ _ (5, terminate_request) \ _ (6, terminate_ack) \ _ (7, code_reject) \ _ (8, protocol_reject) \ _ (9, echo_request) \ _ (10, echo_reply) \ _ (11, discard_request) \ _ (12, identification) \ _ (13, time_remaining) \ _ (14, reset_request) \ _ (15, reset_reply) typedef struct { /* Set to 0xff 0x03 */ u8 address, control; /* Layer 3 protocol for this packet. */ u16 protocol; } ppp_header_t; #endif /* included_vnet_ppp_packet_h */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */