(&s_sslSett, keyType); /* * Init the time-function pointer implicit to NULL, this will disable * checking of the validity of the used certificates * (To enable 'getCurrentTime' function should be used) */ sslSoc_setTimeFunc(&s_sslSett, NULL); /* Setting up the SSL version */ ...
例子来自tcpdumplike.stp脚本, 当tcp.receive事件触发后, 取出类似tcpdump输出的源ip, 目的ip, 源端口, 目的端口, 以及6个tcp包的控制比特位信息. tcp.receive alias实际上包含2个内核函数, 分别代表ipv4和ipv6. kernel.function("tcp_v4_rcv") kernel.function("tcp_v6_rcv")!, module("ipv6").function(...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
(for example, TCP = 6; UDP = 17) record['protocol'] = data2[1] # IP type of service (ToS) record['tos'] = data2[2] # Autonomous system number of the source, either origin or peer record['sourceasn'] = data2[3] # Autonomous system number of the destination, either origin ...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
(sk->sk_protocol == IPPROTO_TCP) tcp_set_keepalive(sk, valbool); #endif sock_valbool_flag(sk, SOCK_KEEPOPEN, valbool); break; case SO_OOBINLINE: sock_valbool_flag(sk, SOCK_URGINLINE, valbool); break; case SO_NO_CHECK: sk->sk_no_check = valbool; break; case SO_PRIORITY: ...
Python FFI.sizeof示例编程语言: Python 命名空间/包名称: cffi 类/类型: FFI 方法/功能: sizeof hotexamples.com的示例: 56 Python FFI.sizeof - 已找到56个示例。这些是从开源项目中提取的最受好评的cffi.FFI.sizeof现实Python示例。您可以评价示例,以帮助我们提高示例质量。
tcph_urg:1,/*urgent pointer*/ tcph_res2:2; unsigned short int tcph_win; unsigned short int tcph_chksum; unsigned short int tcph_urgptr; }; // Simple checksum function, may use others such as Cyclic Redundancy Check, CRC unsigned short csum(unsigned short *buf, int len) ...
equals(other.dstPort) && urg == other.urg && ack == other.ack && psh == other.psh && rst == other.rst && syn == other.syn && fin == other.fin && window == other.window && urgentPointer == other.urgentPointer && reserved == other.reserved && options.equals(other.options) &&...
tcph->ack = needs_ack; tcph->window = 0; tcph->urg_ptr = 0; tcph->check = 0; /* Adjust TCP checksum */ tcph->check = csum_ipv6_magic(&ipv6_hdr(nskb)->saddr, &ipv6_hdr(nskb)->daddr, sizeof(struct tcphdr), IPPROTO_TCP, csum_partial(tcph, sizeof(struct tcphdr),...