Home
last modified time | relevance | path

Searched refs:tlvs (Results 1 – 25 of 872) sorted by relevance

12345678910>>...35

/dports/security/xray-core/Xray-core-1.5.0/vendor/github.com/pires/go-proxyproto/tlvparse/
H A Daws_test.go48 if !IsAWSVPCEndpointID(tlvs[1]) {
98 if !IsAWSVPCEndpointID(tlvs[1]) {
123 if len(tlvs) != 1 {
130 _, err = AWSVPCEndpointID(tlvs[0])
141 if len(tlvs) != 1 {
167 tc.valid(t, tc.name, tlvs)
177 if len(tlvs) != 1 {
191 avpce = FindAWSVPCEndpointID(tlvs)
208 if len(tlvs) != 1 {
215 if IsAWSVPCEndpointID(tlvs[0]) {
[all …]
/dports/www/gitlab-pages/gitlab-pages-f8512edbec4ec83b426c8ca2dda467de424685e4/vendor/github.com/pires/go-proxyproto/tlvparse/
H A Daws_test.go48 if !IsAWSVPCEndpointID(tlvs[1]) {
98 if !IsAWSVPCEndpointID(tlvs[1]) {
123 if len(tlvs) != 1 {
130 _, err = AWSVPCEndpointID(tlvs[0])
141 if len(tlvs) != 1 {
167 tc.valid(t, tc.name, tlvs)
177 if len(tlvs) != 1 {
191 avpce = FindAWSVPCEndpointID(tlvs)
208 if len(tlvs) != 1 {
215 if IsAWSVPCEndpointID(tlvs[0]) {
[all …]
/dports/devel/gitlab-shell/gitlab-shell-65b8ec55bebd0aea64ac52b9878bafcc2ad992d3/vendor/github.com/pires/go-proxyproto/tlvparse/
H A Daws_test.go48 if !IsAWSVPCEndpointID(tlvs[1]) {
98 if !IsAWSVPCEndpointID(tlvs[1]) {
123 if len(tlvs) != 1 {
130 _, err = AWSVPCEndpointID(tlvs[0])
141 if len(tlvs) != 1 {
167 tc.valid(t, tc.name, tlvs)
177 if len(tlvs) != 1 {
191 avpce = FindAWSVPCEndpointID(tlvs)
208 if len(tlvs) != 1 {
215 if IsAWSVPCEndpointID(tlvs[0]) {
[all …]
/dports/net/v2ray/v2ray-core-4.36.2/vendor/github.com/pires/go-proxyproto/tlvparse/
H A Daws_test.go48 if !IsAWSVPCEndpointID(tlvs[1]) {
98 if !IsAWSVPCEndpointID(tlvs[1]) {
123 if len(tlvs) != 1 {
130 _, err = AWSVPCEndpointID(tlvs[0])
141 if len(tlvs) != 1 {
167 tc.valid(t, tc.name, tlvs)
177 if len(tlvs) != 1 {
191 avpce = FindAWSVPCEndpointID(tlvs)
208 if len(tlvs) != 1 {
215 if IsAWSVPCEndpointID(tlvs[0]) {
[all …]
/dports/irc/soju/soju-0.3.0/vendor/github.com/pires/go-proxyproto/tlvparse/
H A Daws_test.go48 if !IsAWSVPCEndpointID(tlvs[1]) {
98 if !IsAWSVPCEndpointID(tlvs[1]) {
123 if len(tlvs) != 1 {
130 _, err = AWSVPCEndpointID(tlvs[0])
141 if len(tlvs) != 1 {
167 tc.valid(t, tc.name, tlvs)
177 if len(tlvs) != 1 {
191 avpce = FindAWSVPCEndpointID(tlvs)
208 if len(tlvs) != 1 {
215 if IsAWSVPCEndpointID(tlvs[0]) {
[all …]
/dports/net-mgmt/pmacct/pmacct-1.7.5/src/isis/
H A Disis_tlv.c62 free_tlvs (struct tlvs *tlvs) in free_tlvs() argument
64 if (tlvs->area_addrs) in free_tlvs()
66 if (tlvs->is_neighs) in free_tlvs()
70 if (tlvs->es_neighs) in free_tlvs()
72 if (tlvs->lsp_entries) in free_tlvs()
74 if (tlvs->lan_neighs) in free_tlvs()
78 if (tlvs->ipv4_addrs) in free_tlvs()
86 if (tlvs->ipv6_addrs) in free_tlvs()
88 if (tlvs->ipv6_reachs) in free_tlvs()
100 u_int32_t * found, struct tlvs *tlvs) in parse_tlvs() argument
[all …]
/dports/net/quagga/quagga-1.2.4/isisd/
H A Disis_tlv.c60 free_tlvs (struct tlvs *tlvs) in free_tlvs() argument
62 if (tlvs->area_addrs) in free_tlvs()
64 if (tlvs->is_neighs) in free_tlvs()
68 if (tlvs->es_neighs) in free_tlvs()
70 if (tlvs->lsp_entries) in free_tlvs()
74 if (tlvs->lan_neighs) in free_tlvs()
76 if (tlvs->ipv4_addrs) in free_tlvs()
85 if (tlvs->ipv6_addrs) in free_tlvs()
91 memset (tlvs, 0, sizeof (struct tlvs)); in free_tlvs()
102 u_int32_t * found, struct tlvs *tlvs, u_int32_t *auth_tlv_offset) in parse_tlvs() argument
[all …]
/dports/net-p2p/c-lightning/lightning-0.10.2/devtools/
H A Dmkquery.c38 struct tlv_query_channel_range_tlvs *tlvs; in main() local
40 tlvs = NULL; in main()
42 tlvs = tlv_query_channel_range_tlvs_new(ctx); in main()
43 tlvs->query_option = tal(tlvs, bigsize_t); in main()
44 *tlvs->query_option = strtol(argv[5], NULL, 0); in main()
50 tlvs); in main()
52 struct tlv_query_short_channel_ids_tlvs *tlvs; in main() local
56 tlvs = NULL; in main()
59 tlvs->query_flags = tal(tlvs, struct tlv_query_short_channel_ids_tlvs_query_flags); in main()
61 tlvs->query_flags->encoded_query_flags = tal_hexdata(tlvs->query_flags, in main()
[all …]
/dports/net/exabgp4/exabgp-4.2.13/lib/exabgp/bgp/message/update/nlri/bgpls/
H A Dlink.py98 tlvs = data[9:]
100 while tlvs:
111 if left == tlvs:
114 tlvs = tlvs[4 + tlv_length :]
123 if left == tlvs:
126 tlvs = tlvs[4 + tlv_length :]
130 value = tlvs[4 : 4 + 8]
132 tlvs = tlvs[4 + 8 :]
136 value = tlvs[4 : 4 + tlv_length]
138 tlvs = tlvs[4 + tlv_length :]
[all …]
H A Dprefixv4.py13 from exabgp.bgp.message.update.nlri.bgpls.tlvs.node import NodeDescriptor
15 from exabgp.bgp.message.update.nlri.bgpls.tlvs.ipreach import IpReach
70 tlvs = data[9:]
72 while tlvs:
73 tlv_type, tlv_length = unpack('!HH', tlvs[:4])
75 values = tlvs[4 : 4 + tlv_length]
86 tlvs = tlvs[4 + tlv_length :]
89 values = tlvs[4 : 4 + tlv_length]
91 tlvs = tlvs[4 + tlv_length :]
93 values = tlvs[4 : 4 + tlv_length]
[all …]
H A Dprefixv6.py14 from exabgp.bgp.message.update.nlri.bgpls.tlvs.node import NodeDescriptor
16 from exabgp.bgp.message.update.nlri.bgpls.tlvs.ipreach import IpReach
71 tlvs = data[9:]
73 while tlvs:
74 tlv_type, tlv_length = unpack('!HH', tlvs[:4])
76 values = tlvs[4 : 4 + tlv_length]
87 tlvs = tlvs[4 + tlv_length :]
90 values = tlvs[4 : 4 + tlv_length]
92 tlvs = tlvs[4 + tlv_length :]
94 values = tlvs[4 : 4 + tlv_length]
[all …]
/dports/net/frr7-pythontools/frr-frr-7.5.1/isisd/
H A Disis_tlvs.c2141 if (tlvs->hostname) { in unpack_tlv_dynamic_hostname()
2265 if (tlvs->spine_leaf) { in unpack_tlv_spine_leaf()
2272 tlvs->spine_leaf = XCALLOC(MTYPE_ISIS_TLV, sizeof(*tlvs->spine_leaf)); in unpack_tlv_spine_leaf()
2388 tlvs->threeway_adj = XCALLOC(MTYPE_ISIS_TLV, sizeof(*tlvs->threeway_adj)); in unpack_tlv_threeway_adj()
2738 if (tlvs->router_cap) { in unpack_tlv_router_cap()
2866 tlvs->router_cap = rcap; in unpack_tlv_router_cap()
3686 if (!tlvs) in isis_free_tlvs()
4663 tlvs->router_cap = XCALLOC(MTYPE_ISIS_TLV, sizeof(*tlvs->router_cap)); in isis_tlvs_set_router_capability()
4821 tlvs->threeway_adj = XCALLOC(MTYPE_ISIS_TLV, sizeof(*tlvs->threeway_adj)); in isis_tlvs_add_threeway_adj()
4838 tlvs->spine_leaf = XCALLOC(MTYPE_ISIS_TLV, sizeof(*tlvs->spine_leaf)); in isis_tlvs_add_spine_leaf()
[all …]
H A Disis_tlvs.h540 void isis_free_tlvs(struct isis_tlvs *tlvs);
544 const char *isis_format_tlvs(struct isis_tlvs *tlvs);
545 struct isis_tlvs *isis_copy_tlvs(struct isis_tlvs *tlvs);
562 void isis_tlvs_add_area_addresses(struct isis_tlvs *tlvs,
564 void isis_tlvs_add_lan_neighbors(struct isis_tlvs *tlvs,
571 void isis_tlvs_add_ipv4_addresses(struct isis_tlvs *tlvs,
573 void isis_tlvs_add_ipv6_addresses(struct isis_tlvs *tlvs,
577 bool isis_tlvs_area_addresses_match(struct isis_tlvs *tlvs,
588 void isis_tlvs_set_dynamic_hostname(struct isis_tlvs *tlvs,
592 void isis_tlvs_set_te_router_id(struct isis_tlvs *tlvs,
[all …]
/dports/net/frr7/frr-frr-7.5.1/isisd/
H A Disis_tlvs.c2141 if (tlvs->hostname) { in unpack_tlv_dynamic_hostname()
2265 if (tlvs->spine_leaf) { in unpack_tlv_spine_leaf()
2272 tlvs->spine_leaf = XCALLOC(MTYPE_ISIS_TLV, sizeof(*tlvs->spine_leaf)); in unpack_tlv_spine_leaf()
2388 tlvs->threeway_adj = XCALLOC(MTYPE_ISIS_TLV, sizeof(*tlvs->threeway_adj)); in unpack_tlv_threeway_adj()
2738 if (tlvs->router_cap) { in unpack_tlv_router_cap()
2866 tlvs->router_cap = rcap; in unpack_tlv_router_cap()
3686 if (!tlvs) in isis_free_tlvs()
4663 tlvs->router_cap = XCALLOC(MTYPE_ISIS_TLV, sizeof(*tlvs->router_cap)); in isis_tlvs_set_router_capability()
4821 tlvs->threeway_adj = XCALLOC(MTYPE_ISIS_TLV, sizeof(*tlvs->threeway_adj)); in isis_tlvs_add_threeway_adj()
4838 tlvs->spine_leaf = XCALLOC(MTYPE_ISIS_TLV, sizeof(*tlvs->spine_leaf)); in isis_tlvs_add_spine_leaf()
[all …]
H A Disis_tlvs.h540 void isis_free_tlvs(struct isis_tlvs *tlvs);
544 const char *isis_format_tlvs(struct isis_tlvs *tlvs);
545 struct isis_tlvs *isis_copy_tlvs(struct isis_tlvs *tlvs);
562 void isis_tlvs_add_area_addresses(struct isis_tlvs *tlvs,
564 void isis_tlvs_add_lan_neighbors(struct isis_tlvs *tlvs,
571 void isis_tlvs_add_ipv4_addresses(struct isis_tlvs *tlvs,
573 void isis_tlvs_add_ipv6_addresses(struct isis_tlvs *tlvs,
577 bool isis_tlvs_area_addresses_match(struct isis_tlvs *tlvs,
588 void isis_tlvs_set_dynamic_hostname(struct isis_tlvs *tlvs,
592 void isis_tlvs_set_te_router_id(struct isis_tlvs *tlvs,
[all …]
/dports/net/ryu/ryu-4.26/ryu/tests/unit/packet/
H A Dtest_lldp.py58 tlvs = lldp_pkt.tlvs
60 eq_(tlvs[0].len, 7)
64 eq_(tlvs[1].len, 4)
68 eq_(tlvs[2].len, 2)
69 eq_(tlvs[2].ttl, 120)
96 lldp_pkt = lldp.lldp(tlvs)
118 lldp_pkt = lldp.lldp(tlvs)
199 lldp1 = lldp.lldp(tlvs)
257 tlvs = lldp_pkt.tlvs
285 eq_(tlvs[7].addr_len, 7)
[all …]
/dports/net/frr7-pythontools/frr-frr-7.5.1/tests/isisd/
H A Dtest_fuzz_isis_tlv.c99 struct isis_tlvs *tlvs; in test() local
105 isis_free_tlvs(tlvs); in test()
111 const char *s_tlvs = isis_format_tlvs(tlvs); in test()
115 tlvs->isis_auth.head = NULL; in test()
116 s_tlvs = isis_format_tlvs(tlvs); in test()
117 struct isis_tlvs *tlv_copy = isis_copy_tlvs(tlvs); in test()
118 tlvs->isis_auth.head = orig_auth; in test()
119 isis_free_tlvs(tlvs); in test()
136 s_tlvs = isis_format_tlvs(tlvs); in test()
150 isis_free_tlvs(tlvs); in test()
[all …]
/dports/net/frr7/frr-frr-7.5.1/tests/isisd/
H A Dtest_fuzz_isis_tlv.c99 struct isis_tlvs *tlvs; in test() local
105 isis_free_tlvs(tlvs); in test()
111 const char *s_tlvs = isis_format_tlvs(tlvs); in test()
115 tlvs->isis_auth.head = NULL; in test()
116 s_tlvs = isis_format_tlvs(tlvs); in test()
117 struct isis_tlvs *tlv_copy = isis_copy_tlvs(tlvs); in test()
118 tlvs->isis_auth.head = orig_auth; in test()
119 isis_free_tlvs(tlvs); in test()
136 s_tlvs = isis_format_tlvs(tlvs); in test()
150 isis_free_tlvs(tlvs); in test()
[all …]
/dports/net/hostapd/hostapd-2.9/src/wps/
H A Dwps.h950 int wps_validate_m1(const struct wpabuf *tlvs);
951 int wps_validate_m2(const struct wpabuf *tlvs);
952 int wps_validate_m2d(const struct wpabuf *tlvs);
953 int wps_validate_m3(const struct wpabuf *tlvs);
954 int wps_validate_m4(const struct wpabuf *tlvs);
956 int wps_validate_m5(const struct wpabuf *tlvs);
958 int wps_validate_m6(const struct wpabuf *tlvs);
960 int wps_validate_m7(const struct wpabuf *tlvs);
962 int wps_validate_m8(const struct wpabuf *tlvs);
964 int wps_validate_wsc_ack(const struct wpabuf *tlvs);
[all …]
/dports/net/hostapd-devel/hostap-14ab4a816/src/wps/
H A Dwps.h963 int wps_validate_m1(const struct wpabuf *tlvs);
964 int wps_validate_m2(const struct wpabuf *tlvs);
965 int wps_validate_m2d(const struct wpabuf *tlvs);
966 int wps_validate_m3(const struct wpabuf *tlvs);
967 int wps_validate_m4(const struct wpabuf *tlvs);
969 int wps_validate_m5(const struct wpabuf *tlvs);
971 int wps_validate_m6(const struct wpabuf *tlvs);
973 int wps_validate_m7(const struct wpabuf *tlvs);
975 int wps_validate_m8(const struct wpabuf *tlvs);
977 int wps_validate_wsc_ack(const struct wpabuf *tlvs);
[all …]
/dports/net/wpa_supplicant_gui/wpa_supplicant-2.9/src/wps/
H A Dwps.h950 int wps_validate_m1(const struct wpabuf *tlvs);
951 int wps_validate_m2(const struct wpabuf *tlvs);
952 int wps_validate_m2d(const struct wpabuf *tlvs);
953 int wps_validate_m3(const struct wpabuf *tlvs);
954 int wps_validate_m4(const struct wpabuf *tlvs);
956 int wps_validate_m5(const struct wpabuf *tlvs);
958 int wps_validate_m6(const struct wpabuf *tlvs);
960 int wps_validate_m7(const struct wpabuf *tlvs);
962 int wps_validate_m8(const struct wpabuf *tlvs);
964 int wps_validate_wsc_ack(const struct wpabuf *tlvs);
[all …]
/dports/security/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps.h950 int wps_validate_m1(const struct wpabuf *tlvs);
951 int wps_validate_m2(const struct wpabuf *tlvs);
952 int wps_validate_m2d(const struct wpabuf *tlvs);
953 int wps_validate_m3(const struct wpabuf *tlvs);
954 int wps_validate_m4(const struct wpabuf *tlvs);
956 int wps_validate_m5(const struct wpabuf *tlvs);
958 int wps_validate_m6(const struct wpabuf *tlvs);
960 int wps_validate_m7(const struct wpabuf *tlvs);
962 int wps_validate_m8(const struct wpabuf *tlvs);
964 int wps_validate_wsc_ack(const struct wpabuf *tlvs);
[all …]
/dports/security/wpa_supplicant-devel/hostap-14ab4a816/src/wps/
H A Dwps.h963 int wps_validate_m1(const struct wpabuf *tlvs);
964 int wps_validate_m2(const struct wpabuf *tlvs);
965 int wps_validate_m2d(const struct wpabuf *tlvs);
966 int wps_validate_m3(const struct wpabuf *tlvs);
967 int wps_validate_m4(const struct wpabuf *tlvs);
969 int wps_validate_m5(const struct wpabuf *tlvs);
971 int wps_validate_m6(const struct wpabuf *tlvs);
973 int wps_validate_m7(const struct wpabuf *tlvs);
975 int wps_validate_m8(const struct wpabuf *tlvs);
977 int wps_validate_wsc_ack(const struct wpabuf *tlvs);
[all …]
/dports/net-im/coyim/coyim-0.3.11/vendor/github.com/coyim/otr3/
H A Ddata_message.go10 return c.genDataMsgWithFlag(message, messageFlagNormal, tlvs...)
34 tlvs: tlvs,
73 dataMsg, x, err := c.genDataMsgWithFlag(msg, flag, tlvs...)
148 var tlvs []tlv
150 tlvs, err = c.processTLVs(p.tlvs, dataMessageExtra{sessionKeys.extraKey})
155 if len(tlvs) > 0 {
157 reply, _, err = c.genDataMsgWithFlag(nil, decideFlagFrom(tlvs), tlvs...)
171 func decideFlagFrom(tlvs []tlv) byte {
173 for _, t := range tlvs {
193 func (c *Conversation) processTLVs(tlvs []tlv, x dataMessageExtra) ([]tlv, error) {
[all …]
/dports/math/vtk6/VTK-6.2.0/ThirdParty/Twisted/twisted/words/protocols/
H A Doscar.py210 self.tlvs = tlvs
437 tlvs=data[5+l:]
439 tlvs,rest = readTLVs(tlvs,foo)
441 tlvs,rest = readTLVs(tlvs), None
455 ip = tlvs[5]
456 cookie = tlvs[6]
615 log.msg(tlvs)
774 tlvs = ''
779 tlvs = tlvs + TLV(5, ''.join(self.capabilities))
1099 message=tlvs[1]
[all …]

12345678910>>...35