Structure that keeps the statistics about the number of packets captured, dropped, etc. More... #include <pcap-remote.h> Data Fields uint32 ifrecv Packets received by the kernel filter (i.e. pcap_stat
Format of the message that starts a remote capture (startcap command). More... #include <pcap-remote.h> Data Fields uint32 snaplen Length of the snapshot (number of bytes to capture for each packet).
Format of the reply message that devoted to start a remote capture (startcap reply command). More... #include <pcap-remote.h> Data Fields int32 bufsize Size of the user buffer allocated by WinPcap; it
Structure that is needed to set sampling parameters. More... #include <pcap-remote.h> Data Fields uint8 method Sampling method. uint8 dummy1 Must be zero. uint16 dummy2 Must be zero. uint32 value Para
Format of the header which encapsulates captured packets when transmitted on the network. More... #include <pcap-remote.h> Data Fields uint32 timestamp_sec 'struct timeval' compatible, it represents t
Format of the message of the connection opening reply (open command). More... #include <pcap-remote.h> Data Fields int32 linktype Link type. int32 tzoff Timezone offset.
Common header for all the RPCAP messages. More... #include <pcap-remote.h> Data Fields uint8 ver RPCAP version number. uint8 type RPCAP message type (error, findalldevs, ...). uint16 value Message-dep
Format of the message for the address listing (findalldevs command). More... #include <pcap-remote.h> Data Fields sockaddr_storage addr Network address. sockaddr_storage netmask Netmask for that addre
Format of the message for the interface description (findalldevs command). More... #include <pcap-remote.h> Data Fields uint16 namelen Length of the interface name. uint16 desclen Length of the interf
Structure that keeps a single BPF instuction; it is repeated 'ninsn' times according to the 'rpcap_filterbpf' header. More... #include <pcap-remote.h> Data Fields uint16 code opcode of the instuction
General header used for the pcap_setfilter() command; keeps just the number of BPF instructions. More... #include <pcap-remote.h> Data Fields uint16 filtertype type of the filter transferred (BPF inst
Structure that keeps the data required for the authentication on the remote host. More... #include <pcap-remote.h> Data Fields uint16 type Authentication type. uint16 dummy Must be zero. uint16 slen1
Defines #define RPCAP_RMTAUTH_NULL0 It defines the NULL authentication. #define RPCAP_RMTAUTH_PWD1 It defines the username/password authentication.
neutron-server的rpc 这个rpc服务端主要通过neutron.server中主函数中代码执行 neutron_rpc = service.serve_rpc() 方法的实现代码如下 def serve_rpc(): plugin = manager.NeutronManager.get_plugin() # If 0 < rpc_workers then sta
plugin端的rpc 以openvswitch的plugin为例进行分析。 neutron.plugin.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2类在初始化的时候调用了self.setup_rpc方法。 其代码为 def setup_rpc(self): # RPC support self.service