/dports/net-mgmt/etherape/etherape-0.9.20/src/stats/ |
H A D | conversations.c | 44 guint16 src_port, guint16 dst_port) in find_conversation_ptr() argument 55 (!src_port || !conv->src_port || (src_port == conv->src_port)) && in find_conversation_ptr() 60 (!src_port || !conv->dst_port || (src_port == conv->dst_port)) && in find_conversation_ptr() 61 (!dst_port || !conv->src_port || (dst_port == conv->src_port)) in find_conversation_ptr() 87 src_port, dst_port))) { in add_conversation() 91 address_to_str(src_address), src_port, in add_conversation() 96 address_to_str(src_address), src_port, in add_conversation() 102 address_to_str(src_address), src_port, in add_conversation() 110 conv->src_port = src_port; in add_conversation() 123 guint16 src_port, guint16 dst_port) in find_conversation() argument [all …]
|
/dports/net/ryu/ryu-4.26/ryu/lib/packet/ |
H A D | udp.py | 48 def __init__(self, src_port=1, dst_port=1, total_length=0, csum=0): argument 50 self.src_port = src_port 56 def get_packet_type(src_port, dst_port): argument 57 if ((src_port in [67, 68] and dst_port == 67) or 58 (dst_port in [67, 68] and src_port == 67)): 60 if ((src_port in [546, 547] and dst_port == 547) or 61 (dst_port in [546, 547] and src_port == 547)): 72 (src_port, dst_port, total_length, csum) = struct.unpack_from( 74 msg = cls(src_port, dst_port, total_length, csum) 80 h = struct.pack(udp._PACK_STR, self.src_port, self.dst_port, [all …]
|
/dports/net/ndpi/nDPI-92a1be2/src/lib/ |
H A D | ndpi_community_id.c | 212 off += ndpi_community_id_buf_copy(&comm_buf[off], &src_port, sizeof(src_port)); in ndpi_community_id_finalize_and_compute_hash() 287 src_port = icmp_type; in ndpi_flowv4_flow_hash() 298 src_port = dst_port = 0; in ndpi_flowv4_flow_hash() 305 src_port = htons(src_port); in ndpi_flowv4_flow_hash() 315 port_a = src_port, port_b = dst_port; in ndpi_flowv4_flow_hash() 319 port_a = dst_port, port_b = src_port; in ndpi_flowv4_flow_hash() 348 src_port = icmp_type; in ndpi_flowv6_flow_hash() 359 src_port = dst_port = 0; in ndpi_flowv6_flow_hash() 364 src_port = htons(src_port); in ndpi_flowv6_flow_hash() 369 port_a = src_port, port_b = dst_port; in ndpi_flowv6_flow_hash() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/netfilter/ |
H A D | nft_concat_range.sh | 498 [ -n "${src_port}" ] && src_port="-us ${src_port}" 506 src_port= 525 [ -n "${src_port}" ] && src_port="-p ${src_port}" 531 src_port= 557 [ -n "${src_port}" ] && src_port="-us ${src_port}" 571 src_port= 585 [ -n "${src_port}" ] && src_port="-p ${src_port}" 592 src_port= 620 src_port="--cport ${src_port}" 710 src_port="--cport ${src_port}" [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/netfilter/ |
H A D | nft_concat_range.sh | 498 [ -n "${src_port}" ] && src_port="-us ${src_port}" 506 src_port= 525 [ -n "${src_port}" ] && src_port="-p ${src_port}" 531 src_port= 557 [ -n "${src_port}" ] && src_port="-us ${src_port}" 571 src_port= 585 [ -n "${src_port}" ] && src_port="-p ${src_port}" 592 src_port= 620 src_port="--cport ${src_port}" 710 src_port="--cport ${src_port}" [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/netfilter/ |
H A D | nft_concat_range.sh | 498 [ -n "${src_port}" ] && src_port="-us ${src_port}" 506 src_port= 525 [ -n "${src_port}" ] && src_port="-p ${src_port}" 531 src_port= 557 [ -n "${src_port}" ] && src_port="-us ${src_port}" 571 src_port= 585 [ -n "${src_port}" ] && src_port="-p ${src_port}" 592 src_port= 620 src_port="--cport ${src_port}" 710 src_port="--cport ${src_port}" [all …]
|
/dports/net-mgmt/bpft/bpft/contrib/p5-trafd/ |
H A D | traflog.pl | 50 my ($src_port,$dst_port) = @$record[3..4]; 55 if( $src_port == 0 ) { 56 $src_port = 'client'; 58 elsif( $src_port == -1 ) { 59 $src_port = 'none'; 62 $src_port .= ''; 76 $src_port .= ''; 83 TrafD::InetN2A($$record[0]),$src_port,
|
/dports/multimedia/libv4l/linux-5.13-rc2/include/trace/events/ |
H A D | vsock_virtio_transport_common.h | 38 __u32 src_cid, __u32 src_port, 46 src_cid, src_port, 55 __field(__u32, src_port) 65 __entry->src_port = src_port; 74 __entry->src_cid, __entry->src_port, 84 __u32 src_cid, __u32 src_port, 94 src_cid, src_port, 105 __field(__u32, src_port) 117 __entry->src_port = src_port; 129 __entry->src_cid, __entry->src_port,
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/trace/events/ |
H A D | vsock_virtio_transport_common.h | 38 __u32 src_cid, __u32 src_port, 46 src_cid, src_port, 55 __field(__u32, src_port) 65 __entry->src_port = src_port; 74 __entry->src_cid, __entry->src_port, 84 __u32 src_cid, __u32 src_port, 94 src_cid, src_port, 105 __field(__u32, src_port) 117 __entry->src_port = src_port; 129 __entry->src_cid, __entry->src_port,
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/trace/events/ |
H A D | vsock_virtio_transport_common.h | 38 __u32 src_cid, __u32 src_port, 46 src_cid, src_port, 55 __field(__u32, src_port) 65 __entry->src_port = src_port; 74 __entry->src_cid, __entry->src_port, 84 __u32 src_cid, __u32 src_port, 94 src_cid, src_port, 105 __field(__u32, src_port) 117 __entry->src_port = src_port; 129 __entry->src_cid, __entry->src_port,
|
/dports/security/amavisd-new/amavis-v2.12.0/ |
H A D | p0f-analyzer.pl | 269 my($now, $src_ip, $src_port, $descr, $attr_ref) = @_; 275 my $key = "[$src_ip]:$src_port"; 283 $src_ip, $src_port, 394 my($src_ip, $src_port, $src_t, $src_d, %attr); 431 my($src_ip, $src_port); 433 $src_ip = $1; $src_port = $2; 450 $src_port = 0 if !defined $src_port; 457 } elsif (!defined($src_ip) || $src_port > 65535) { 468 if ($src_port > 0 && exists $src{"[$src_ip]:$src_port"}) { 469 my $attr_ref = $src{"[$src_ip]:$src_port"}{a}; [all …]
|
/dports/dns/packetq/PacketQ-1.4.1/src/test/ |
H A D | test1.gold | 4 …, 1.1 as float, sum(src_port + 1.0 - 2.0 / 1.5 * -2.5) + 1.0, max(src_port + 1.0), min(src_port + … 19 { "name": "(sum(((src_port+1.0)-((2.0/1.5)*-(2.5))))+1.0)","type": "float" }, 20 { "name": "max((src_port+1.0))","type": "float" }, 21 { "name": "min((src_port+1.0))","type": "float" }, 22 { "name": "avg(src_port)","type": "float" }, 23 { "name": "stdev(src_port)","type": "float" },
|
/dports/games/pvpgn/pvpgn-1.8.5/src/bnetd/ |
H A D | handle_udp.c | 31 extern int handle_udp_packet(int usock, unsigned int src_addr, unsigned short src_port, t_packet co… in handle_udp_packet() argument 52 …CTION__,"[%d] got UDPTEST packet from %s (myself?)",usock,addr_num_to_addr_str(src_addr,src_port)); in handle_udp_packet() 80 if (conn_get_game_addr(c)!=src_addr || conn_get_game_port(c)!=src_port) in handle_udp_packet() 81 …ADDR1 set new UDP address to %s",conn_get_socket(c),usock,addr_num_to_addr_str(src_addr,src_port)); in handle_udp_packet() 85 conn_set_game_port(c,src_port); in handle_udp_packet() 112 if (conn_get_game_addr(c)!=src_addr || conn_get_game_port(c)!=src_port) in handle_udp_packet() 113 …ADDR2 set new UDP address to %s",conn_get_socket(c),usock,addr_num_to_addr_str(src_addr,src_port)); in handle_udp_packet() 117 conn_set_game_port(c,src_port); in handle_udp_packet() 125 …NCTION__,"[%d] got SEARCH_LAN_GAMES packet from %s",usock,addr_num_to_addr_str(src_addr,src_port)); in handle_udp_packet() 130 …igned int)packet_get_type(packet),packet_get_size(packet),addr_num_to_addr_str(src_addr,src_port)); in handle_udp_packet()
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/fpga/usrp3/sim/rfnoc/ |
H A D | PkgCtrlIfaceBfm.sv | 21 ctrl_port_t src_port; register in PkgCtrlIfaceBfm.CtrlIfaceBfm 34 ctrl_port_t src_port port 38 this.src_port = src_port; 59 src_port : src_port, 99 src_port : src_port,
|
/dports/net/ryu/ryu-4.26/ryu/tests/unit/packet/ |
H A D | test_udp.py | 37 src_port = 6431 variable in Test_udp 41 u = udp(src_port, dst_port, total_length, csum) 42 buf = pack(udp._PACK_STR, src_port, dst_port, total_length, csum) 51 eq_(self.src_port, self.u.src_port) 59 eq_(self.src_port, r1.src_port) 66 src_port = 6431 76 u = udp(src_port, dst_port, total_length, csum) 80 eq_(res[0], src_port)
|
/dports/net-mgmt/netustad/netustad-0.3.1/data/linux/ |
H A D | nat_add | 21 src_port=`echo $QUERY_STRING | $awk_cmd -F\& '{print $4}' | $sed_cmd s/src_port=//` 22 if test "x" = "x$src_port"; then 23 src_port="" 25 src_port="--sport $src_port" 36 $fw_cmd -t nat -A POSTROUTING -p $proto -s $src_ip $src_port -d $dst_ip $dst_port -j MASQUERADE 38 …$fw_cmd -t nat -A POSTROUTING -p $proto -s $src_ip $src_port -d $dst_ip $dst_port -j SNAT --to $ma…
|
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/ |
H A D | transcoder.c | 104 #define SRC_PORT(src_port, port) \ argument 109 SRC_PORT(src_port, port); \ 130 SgPort *src_port; in get_char_internal() local 132 PORT_MARK(mark, src_port, port); in get_char_internal() 142 SAVE_CLOSED(src_port, prev); in get_char_internal() 150 RESTORE_CLOSED(src_port, prev); in get_char_internal() 154 RESTORE_CLOSED(src_port, prev); in get_char_internal() 262 SgPort *src_port; in Sg_TranscoderRead() local 264 PORT_MARK(mark, src_port, port); in Sg_TranscoderRead() 287 SAVE_CLOSED(src_port, prev); in Sg_TranscoderRead() [all …]
|
/dports/comms/libticalcs2/libticalcs2-1.1.9/src/ |
H A D | nsp_vpkt.c | 117 vtl->src_port = src_port; in nsp_vtl_pkt_fill() 244 if ( pkt.src_port != NSP_PORT_ADDR_ASSIGN in nsp_addr_request() 266 pkt.src_port = NSP_PORT_ADDR_ASSIGN; in nsp_addr_assign() 290 pkt.src_port = NSP_PORT_PKT_ACK2; in nsp_send_ack() 317 pkt.src_port = NSP_PORT_PKT_NACK; in nsp_send_nack_ex() 341 if (pkt.src_port != NSP_PORT_PKT_ACK2) in nsp_recv_ack() 390 pkt.src_port = NSP_PORT_DISCONNECT; in nsp_send_disconnect() 415 if (pkt.src_port != NSP_PORT_DISCONNECT) in nsp_recv_disconnect() 430 pkt.src_port = NSP_PORT_PKT_ACK2; in nsp_recv_disconnect() 464 raw.src_port = vtl->src_port; in nsp_send_data() [all …]
|
/dports/audio/faust/faust-2.37.3/architecture/faust/audio/ |
H A D | jack-dsp.h | 342 jack_port_t* src_port = getOutputPort(src); in connect() local 344 if (src_port && dst_port) { in connect() 357 jack_port_t* src_port = getOutputPort(src); in connect() local 358 if (src_port) { in connect() 368 jack_port_t* src_port = getOutputPort(src); in disconnect() local 370 if (src_port && dst_port) { in disconnect() 383 jack_port_t* src_port = getOutputPort(src); in disconnect() local 384 if (src_port) { in disconnect() 394 jack_port_t* src_port = getOutputPort(src); in isConnected() local 396 if (src_port && dst_port) { in isConnected() [all …]
|
/dports/net/pjsip/pjproject-2.11.1/pjmedia/src/pjmedia/ |
H A D | conference.c | 1012 src_port->listener_slots[src_port->listener_cnt] = sink_slot; in pjmedia_conf_connect_port() 1014 src_port->listener_adj_level[src_port->listener_cnt] = adj_level + in pjmedia_conf_connect_port() 1017 ++src_port->listener_cnt; in pjmedia_conf_connect_port() 1026 src_port->name.ptr, in pjmedia_conf_connect_port() 1084 --src_port->listener_cnt; in pjmedia_conf_disconnect_port() 1091 src_port->name.ptr, in pjmedia_conf_disconnect_port() 1097 if (src_port->delay_buf && src_port->listener_cnt == 0) in pjmedia_conf_disconnect_port() 1132 if (!src_port) in pjmedia_conf_disconnect_port_from_sources() 1178 if (!src_port) { in pjmedia_conf_disconnect_port_from_sinks() 1188 dst_slot = src_port->listener_slots[src_port->listener_cnt-1]; in pjmedia_conf_disconnect_port_from_sinks() [all …]
|
/dports/net/wireshark-lite/wireshark-3.6.1/ui/ |
H A D | rtp_stream_id.c | 33 dest->src_port=src->src_port; in rtpstream_id_copy() 46 dest->src_port=pinfo->srcport; in rtpstream_id_copy_pinfo() 53 dest->src_port=pinfo->destport; in rtpstream_id_copy_pinfo() 80 hash ^= id->src_port | id->dst_port << 16; in rtpstream_id_to_hash() 93 && id1->src_port == id2->src_port in rtpstream_id_equal() 116 && id->src_port == pinfo->srcport in rtpstream_id_equal_pinfo_rtp_info()
|
/dports/net/wireshark/wireshark-3.6.1/ui/ |
H A D | rtp_stream_id.c | 33 dest->src_port=src->src_port; in rtpstream_id_copy() 46 dest->src_port=pinfo->srcport; in rtpstream_id_copy_pinfo() 53 dest->src_port=pinfo->destport; in rtpstream_id_copy_pinfo() 80 hash ^= id->src_port | id->dst_port << 16; in rtpstream_id_to_hash() 93 && id1->src_port == id2->src_port in rtpstream_id_equal() 116 && id->src_port == pinfo->srcport in rtpstream_id_equal_pinfo_rtp_info()
|
/dports/net/tshark/wireshark-3.6.1/ui/ |
H A D | rtp_stream_id.c | 33 dest->src_port=src->src_port; 46 dest->src_port=pinfo->srcport; 53 dest->src_port=pinfo->destport; 80 hash ^= id->src_port | id->dst_port << 16; 93 && id1->src_port == id2->src_port 116 && id->src_port == pinfo->srcport
|
/dports/net/tshark-lite/wireshark-3.6.1/ui/ |
H A D | rtp_stream_id.c | 33 dest->src_port=src->src_port; in rtpstream_id_copy() 46 dest->src_port=pinfo->srcport; in rtpstream_id_copy_pinfo() 53 dest->src_port=pinfo->destport; in rtpstream_id_copy_pinfo() 80 hash ^= id->src_port | id->dst_port << 16; in rtpstream_id_to_hash() 93 && id1->src_port == id2->src_port in rtpstream_id_equal() 116 && id->src_port == pinfo->srcport in rtpstream_id_equal_pinfo_rtp_info()
|
/dports/devel/py-gs_api_client/gs_api_client-1.1.1/gs_api_client/swagger/models/ |
H A D | task_events_firewall_firewall_update_rules_schema_rulesv4out_schema.py | 59 …def __init__(self, src_cidr=None, dst_port=None, action=None, src_port=None, dst_cidr=None, order=… argument 78 if src_port is not None: 79 self.src_port = src_port 153 def src_port(self): member in TaskEventsFirewallFirewallUpdateRulesSchemaRulesv4outSchema 162 @src_port.setter 163 def src_port(self, src_port): argument 171 self._src_port = src_port
|