Home
last modified time | relevance | path

Searched refs:protocol_length (Results 1 – 25 of 53) sorted by relevance

123

/dports/net/ladvd/ladvd-1.1.2/src/proto/
H A Dcdp.c199 PUSH_UINT8(cdp_protos[CDP_ADDR_IPV4].protocol_length) && in cdp_packet()
201 cdp_protos[CDP_ADDR_IPV4].protocol_length) && in cdp_packet()
211 PUSH_UINT8(cdp_protos[CDP_ADDR_IPV6].protocol_length) && in cdp_packet()
213 cdp_protos[CDP_ADDR_IPV6].protocol_length) && in cdp_packet()
241 PUSH_UINT8(cdp_protos[CDP_ADDR_IPV4].protocol_length) && in cdp_packet()
243 cdp_protos[CDP_ADDR_IPV4].protocol_length) && in cdp_packet()
253 PUSH_UINT8(cdp_protos[CDP_ADDR_IPV6].protocol_length) && in cdp_packet()
255 cdp_protos[CDP_ADDR_IPV6].protocol_length) && in cdp_packet()
610 (pl == cdp_protos[CDP_ADDR_IPV4].protocol_length)) { in cdp_addr()
615 (pl == cdp_protos[CDP_ADDR_IPV6].protocol_length)) { in cdp_addr()
H A Dfdp.c155 PUSH_UINT8(fdp_protos[CDP_ADDR_IPV4].protocol_length) && in fdp_packet()
157 fdp_protos[CDP_ADDR_IPV4].protocol_length) && in fdp_packet()
167 PUSH_UINT8(fdp_protos[CDP_ADDR_IPV6].protocol_length) && in fdp_packet()
169 fdp_protos[CDP_ADDR_IPV6].protocol_length) && in fdp_packet()
/dports/security/masscan/masscan-1.3.2/src/
H A Dproto-preprocess.c596 unsigned protocol_length; in preprocess_frame() local
603 protocol_length = px[offset+5]; in preprocess_frame()
609 VERIFY_REMAINING(2*hardware_length + 2*protocol_length, FOUND_ARP); in preprocess_frame()
612 info->_ip_dst = px + offset + 2*hardware_length + protocol_length; in preprocess_frame()
620 info->dst_ip.ipv4 = px[offset + 2*hardware_length + protocol_length + 0] << 24 in preprocess_frame()
621 | px[offset + 2*hardware_length + protocol_length + 1] << 16 in preprocess_frame()
622 | px[offset + 2*hardware_length + protocol_length + 2] << 8 in preprocess_frame()
623 | px[offset + 2*hardware_length + protocol_length + 3] << 0; in preprocess_frame()
H A Dstack-arpv4.c41 unsigned protocol_length;
65 arp->protocol_length = px[offset+5];
70 if (arp->protocol_length != 4 && arp->hardware_length != 6)
80 VERIFY_REMAINING(2 * arp->hardware_length + 2 * arp->protocol_length);
85 offset += arp->protocol_length;
/dports/devel/efl/efl-1.25.1/src/lib/ecore_con/
H A Decore_con_eet.c319 unsigned int protocol_length = eina_ntohl(tmp[1]); in _ecore_con_eet_data() local
323 …if (protocol_length > 1 && section_length > 1 && protocol_length + section_length <= size && data_… in _ecore_con_eet_data()
331 section = buffer + protocol_length; in _ecore_con_eet_data()
333 if (protocol[protocol_length - 1] == '\0' && in _ecore_con_eet_data()
336 size -= protocol_length + section_length; in _ecore_con_eet_data()
354 size += protocol_length + section_length; in _ecore_con_eet_data()
537 unsigned int protocol_length; in _ecore_con_eet_base_raw_send() local
554 protocol_length = strlen(protocol_name) + 1; in _ecore_con_eet_base_raw_send()
555 if (protocol_length == 1) return; in _ecore_con_eet_base_raw_send()
559 protocol[1] = eina_htonl(protocol_length); in _ecore_con_eet_base_raw_send()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/pc/
H A Dsctp_utils_unittest.cc29 uint16_t protocol_length; in VerifyOpenMessageFormat() local
57 ASSERT_TRUE(buffer.ReadUInt16(&protocol_length)); in VerifyOpenMessageFormat()
59 EXPECT_EQ(config.protocol.size(), protocol_length); in VerifyOpenMessageFormat()
65 ASSERT_TRUE(buffer.ReadString(&protocol_output, protocol_length)); in VerifyOpenMessageFormat()
H A Dsctp_utils.cc89 uint16_t protocol_length; in ParseDataChannelOpenMessage() local
90 if (!buffer.ReadUInt16(&protocol_length)) { in ParseDataChannelOpenMessage()
98 if (!buffer.ReadString(&config->protocol, protocol_length)) { in ParseDataChannelOpenMessage()
/dports/www/gtkhtml4/gtkhtml-4.10.0/gtkhtml/
H A Dhtmlurl.c341 guint protocol_length; in html_url_to_string() local
355 protocol_length = 0; in html_url_to_string()
365 protocol_length = strlen (url->protocol); in html_url_to_string()
366 if (protocol_length > 0) { in html_url_to_string()
367 length += protocol_length; in html_url_to_string()
426 if (protocol_length != 0) { in html_url_to_string()
/dports/net-im/tg_owt/tg_owt-d578c76/src/pc/
H A Dsctp_utils_unittest.cc29 uint16_t protocol_length; in VerifyOpenMessageFormat() local
64 ASSERT_TRUE(buffer.ReadUInt16(&protocol_length)); in VerifyOpenMessageFormat()
66 EXPECT_EQ(config.protocol.size(), protocol_length); in VerifyOpenMessageFormat()
72 ASSERT_TRUE(buffer.ReadString(&protocol_output, protocol_length)); in VerifyOpenMessageFormat()
H A Dsctp_utils.cc113 uint16_t protocol_length; in ParseDataChannelOpenMessage() local
114 if (!buffer.ReadUInt16(&protocol_length)) { in ParseDataChannelOpenMessage()
122 if (!buffer.ReadString(&config->protocol, protocol_length)) { in ParseDataChannelOpenMessage()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/pc/
H A Dsctp_utils_unittest.cc29 uint16_t protocol_length; in VerifyOpenMessageFormat() local
64 ASSERT_TRUE(buffer.ReadUInt16(&protocol_length)); in VerifyOpenMessageFormat()
66 EXPECT_EQ(config.protocol.size(), protocol_length); in VerifyOpenMessageFormat()
72 ASSERT_TRUE(buffer.ReadString(&protocol_output, protocol_length)); in VerifyOpenMessageFormat()
H A Dsctp_utils.cc111 uint16_t protocol_length; in ParseDataChannelOpenMessage() local
112 if (!buffer.ReadUInt16(&protocol_length)) { in ParseDataChannelOpenMessage()
120 if (!buffer.ReadString(&config->protocol, protocol_length)) { in ParseDataChannelOpenMessage()
/dports/www/wget2/wget2-2.0.0/libwget/
H A Dssl_wolfssl.c931 uint16_t protocol_length; in wget_ssl_open() local
933 if (wolfSSL_ALPN_GetProtocol(session, &protocol, &protocol_length) != WOLFSSL_SUCCESS) in wget_ssl_open()
936 debug_printf("WolfSSL: Server accepted ALPN protocol '%.*s'\n", (int) protocol_length, protocol); in wget_ssl_open()
937 stats.alpn_protocol = wget_strmemdup(protocol, protocol_length); in wget_ssl_open()
939 if (protocol_length == 2 && !memcmp(protocol, "h2", 2)) { in wget_ssl_open()
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-rtcdc.c198 guint16 protocol_length; in dissect_new_open_request_message() local
209 protocol_length = tvb_get_ntohs(tvb, NEW_PROTOCOL_LENGTH_OFFSET); in dissect_new_open_request_message()
210 …if (NEW_OPEN_REQUEST_HEADER_LENGTH + (guint)label_length + (guint)protocol_length != tvb_reported_… in dissect_new_open_request_message()
220 …m(rtcdc_tree, hf_new_protocol, tvb, NEW_LABEL_OFFSET + label_length, protocol_length, ENC_ASCII|EN… in dissect_new_open_request_message()
H A Dpacket-cdp.c1052 guint8 protocol_length; in dissect_address_tlv() local
1068 protocol_length = tvb_get_guint8(tvb, offset); in dissect_address_tlv()
1073 if (length < protocol_length) { in dissect_address_tlv()
1081 if ((protocol_type == PROTO_TYPE_NLPID) && (protocol_length == 1)) { in dissect_address_tlv()
1083 …ree_add_bytes_format_value(address_tree, hf_cdp_protocol, tvb, offset, protocol_length, NULL, "%s", in dissect_address_tlv()
1091 proto_tree_add_item(address_tree, hf_cdp_protocol, tvb, offset, protocol_length, ENC_NA); in dissect_address_tlv()
1093 offset += protocol_length; in dissect_address_tlv()
1094 length -= protocol_length; in dissect_address_tlv()
1113 if ((protocol_type == PROTO_TYPE_NLPID) && (protocol_length == 1)) { in dissect_address_tlv()
1128 if ((protocol_type == PROTO_TYPE_IEEE_802_2) && (protocol_length == 8) && (etypeid > 0)) { in dissect_address_tlv()
[all …]
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-rtcdc.c198 guint16 protocol_length; in dissect_new_open_request_message() local
209 protocol_length = tvb_get_ntohs(tvb, NEW_PROTOCOL_LENGTH_OFFSET); in dissect_new_open_request_message()
210 …if (NEW_OPEN_REQUEST_HEADER_LENGTH + (guint)label_length + (guint)protocol_length != tvb_reported_… in dissect_new_open_request_message()
220 …m(rtcdc_tree, hf_new_protocol, tvb, NEW_LABEL_OFFSET + label_length, protocol_length, ENC_ASCII|EN… in dissect_new_open_request_message()
H A Dpacket-cdp.c1052 guint8 protocol_length;
1068 protocol_length = tvb_get_guint8(tvb, offset);
1073 if (length < protocol_length) {
1081 if ((protocol_type == PROTO_TYPE_NLPID) && (protocol_length == 1)) {
1083 …ree_add_bytes_format_value(address_tree, hf_cdp_protocol, tvb, offset, protocol_length, NULL, "%s",
1091 proto_tree_add_item(address_tree, hf_cdp_protocol, tvb, offset, protocol_length, ENC_NA);
1093 offset += protocol_length;
1094 length -= protocol_length;
1113 if ((protocol_type == PROTO_TYPE_NLPID) && (protocol_length == 1)) {
1128 if ((protocol_type == PROTO_TYPE_IEEE_802_2) && (protocol_length == 8) && (etypeid > 0)) {
[all …]
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-rtcdc.c198 guint16 protocol_length; in dissect_new_open_request_message() local
209 protocol_length = tvb_get_ntohs(tvb, NEW_PROTOCOL_LENGTH_OFFSET); in dissect_new_open_request_message()
210 …if (NEW_OPEN_REQUEST_HEADER_LENGTH + (guint)label_length + (guint)protocol_length != tvb_reported_… in dissect_new_open_request_message()
220 …m(rtcdc_tree, hf_new_protocol, tvb, NEW_LABEL_OFFSET + label_length, protocol_length, ENC_ASCII|EN… in dissect_new_open_request_message()
H A Dpacket-cdp.c1052 guint8 protocol_length; in dissect_address_tlv() local
1068 protocol_length = tvb_get_guint8(tvb, offset); in dissect_address_tlv()
1073 if (length < protocol_length) { in dissect_address_tlv()
1081 if ((protocol_type == PROTO_TYPE_NLPID) && (protocol_length == 1)) { in dissect_address_tlv()
1083 …ree_add_bytes_format_value(address_tree, hf_cdp_protocol, tvb, offset, protocol_length, NULL, "%s", in dissect_address_tlv()
1091 proto_tree_add_item(address_tree, hf_cdp_protocol, tvb, offset, protocol_length, ENC_NA); in dissect_address_tlv()
1093 offset += protocol_length; in dissect_address_tlv()
1094 length -= protocol_length; in dissect_address_tlv()
1113 if ((protocol_type == PROTO_TYPE_NLPID) && (protocol_length == 1)) { in dissect_address_tlv()
1128 if ((protocol_type == PROTO_TYPE_IEEE_802_2) && (protocol_length == 8) && (etypeid > 0)) { in dissect_address_tlv()
[all …]
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-rtcdc.c198 guint16 protocol_length; in dissect_new_open_request_message() local
209 protocol_length = tvb_get_ntohs(tvb, NEW_PROTOCOL_LENGTH_OFFSET); in dissect_new_open_request_message()
210 …if (NEW_OPEN_REQUEST_HEADER_LENGTH + (guint)label_length + (guint)protocol_length != tvb_reported_… in dissect_new_open_request_message()
220 …m(rtcdc_tree, hf_new_protocol, tvb, NEW_LABEL_OFFSET + label_length, protocol_length, ENC_ASCII|EN… in dissect_new_open_request_message()
H A Dpacket-cdp.c1052 guint8 protocol_length; in dissect_address_tlv() local
1068 protocol_length = tvb_get_guint8(tvb, offset); in dissect_address_tlv()
1073 if (length < protocol_length) { in dissect_address_tlv()
1081 if ((protocol_type == PROTO_TYPE_NLPID) && (protocol_length == 1)) { in dissect_address_tlv()
1083 …ree_add_bytes_format_value(address_tree, hf_cdp_protocol, tvb, offset, protocol_length, NULL, "%s", in dissect_address_tlv()
1091 proto_tree_add_item(address_tree, hf_cdp_protocol, tvb, offset, protocol_length, ENC_NA); in dissect_address_tlv()
1093 offset += protocol_length; in dissect_address_tlv()
1094 length -= protocol_length; in dissect_address_tlv()
1113 if ((protocol_type == PROTO_TYPE_NLPID) && (protocol_length == 1)) { in dissect_address_tlv()
1128 if ((protocol_type == PROTO_TYPE_IEEE_802_2) && (protocol_length == 8) && (etypeid > 0)) { in dissect_address_tlv()
[all …]
/dports/graphics/djvulibre/djvulibre-3.5.28/libdjvu/
H A DGURL.cpp236 const int protocol_length=protocol(xurl).length(); in convert_slashes() local
237 for(char *ptr=(xurl.getbuf()+protocol_length);*ptr;ptr++) in convert_slashes()
260 const int protocol_length=GURL::protocol(xurl).length(); in beautify_path() local
268 char * start=buffer+pathname_start(xurl,protocol_length); in beautify_path()
933 const int protocol_length=protocol(xurl).length(); in base() local
936 ptr=xslash=url_ptr+protocol_length+1; in base()
986 const int protocol_length=protocol(xurl).length(); in name() local
987 const char * ptr, * xslash=(const char *)xurl+protocol_length-1; in name()
988 for(ptr=(const char *)xurl+protocol_length; in name()
1214 const int protocol_length=GURL::protocol(all).length(); in GURL() local
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/modules/navigatorcontentutils/
H A Dnavigator_content_utils.cc111 unsigned protocol_length = protocol.length(); in IsValidWebSchemeName() local
112 for (unsigned i = 4; i < protocol_length; i++) { in IsValidWebSchemeName()
/dports/www/firefox-esr/firefox-91.8.0/netwerk/sctp/datachannel/
H A DDataChannelProtocol.h57 uint16_t protocol_length; member
/dports/www/firefox/firefox-99.0/netwerk/sctp/datachannel/
H A DDataChannelProtocol.h57 uint16_t protocol_length; member

123