Searched refs:src (Results 1 - 25 of 181) sorted by relevance

12345678

/trex/src/dpdk/lib/librte_eal/common/include/generic/
H A Drte_memcpy.h49 * @param src
53 rte_mov16(uint8_t *dst, const uint8_t *src);
61 * @param src
65 rte_mov32(uint8_t *dst, const uint8_t *src);
75 * @param src
79 rte_mov48(uint8_t *dst, const uint8_t *src);
89 * @param src
93 rte_mov64(uint8_t *dst, const uint8_t *src);
101 * @param src
105 rte_mov128(uint8_t *dst, const uint8_t *src);
[all...]
/trex/src/dpdk/lib/librte_eal/common/include/arch/x86/
H A Drte_memcpy.h60 * @param src
68 rte_memcpy(void *dst, const void *src, size_t n) __attribute__((always_inline));
83 rte_mov16(uint8_t *dst, const uint8_t *src) argument
87 xmm0 = _mm_loadu_si128((const __m128i *)src);
96 rte_mov32(uint8_t *dst, const uint8_t *src) argument
100 ymm0 = _mm256_loadu_si256((const __m256i *)src);
109 rte_mov64(uint8_t *dst, const uint8_t *src) argument
113 zmm0 = _mm512_loadu_si512((const void *)src);
122 rte_mov128(uint8_t *dst, const uint8_t *src) argument
124 rte_mov64(dst + 0 * 64, src
133 rte_mov256(uint8_t *dst, const uint8_t *src) argument
146 rte_mov128blocks(uint8_t *dst, const uint8_t *src, size_t n) argument
166 rte_mov512blocks(uint8_t *dst, const uint8_t *src, size_t n) argument
194 rte_memcpy_generic(void *dst, const void *src, size_t n) argument
324 rte_mov16(uint8_t *dst, const uint8_t *src) argument
337 rte_mov32(uint8_t *dst, const uint8_t *src) argument
350 rte_mov64(uint8_t *dst, const uint8_t *src) argument
361 rte_mov128(uint8_t *dst, const uint8_t *src) argument
374 rte_mov128blocks(uint8_t *dst, const uint8_t *src, size_t n) argument
394 rte_memcpy_generic(void *dst, const void *src, size_t n) argument
517 rte_mov16(uint8_t *dst, const uint8_t *src) argument
530 rte_mov32(uint8_t *dst, const uint8_t *src) argument
541 rte_mov64(uint8_t *dst, const uint8_t *src) argument
554 rte_mov128(uint8_t *dst, const uint8_t *src) argument
571 rte_mov256(uint8_t *dst, const uint8_t *src) argument
686 rte_memcpy_generic(void *dst, const void *src, size_t n) argument
831 rte_memcpy_aligned(void *dst, const void *src, size_t n) argument
891 rte_memcpy(void *dst, const void *src, size_t n) argument
[all...]
H A Drte_atomic.h74 rte_atomic16_cmpset(volatile uint16_t *dst, uint16_t exp, uint16_t src) argument
80 "cmpxchgw %[src], %[dst];"
84 : [src] "r" (src), /* input */
148 rte_atomic32_cmpset(volatile uint32_t *dst, uint32_t exp, uint32_t src) argument
154 "cmpxchgl %[src], %[dst];"
158 : [src] "r" (src), /* input */
/trex/external_libs/ibverbs/include/infiniband/
H A Dmarshall.h52 struct ibv_kern_qp_attr *src);
55 struct ibv_kern_ah_attr *src);
58 struct ibv_kern_path_rec *src);
61 struct ibv_sa_path_rec *src);
/trex/scripts/stl/
H A Dudp_1pkt_simple_mac_dst_src.py3 # stream will be sent with src MAC addrees dst="60:60:60:60:60:60" and not from default of trex_cfg.yaml port src mac
7 return STLStream( packet = STLPktBuilder(pkt = Ether(src="61:61:61:61:61:61",dst="60:60:60:60:60:60")/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=12,sport=1025)/(10*'x')),
H A Dudp_1pkt_simple_mac_src.py3 # stream will be sent with src MAC addrees src="60:60:60:60:60:60" and not from default of trex_cfg.yaml port src mac
7 return STLStream( packet = STLPktBuilder(pkt = Ether(src="60:60:60:60:60:60")/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=12,sport=1025)/(10*'x')),
H A Dbench.py5 ip_range['src'] = {'start': '16.0.0.0', 'end': '16.0.255.255'}
13 def create_stream (self, size, vm, src, dst, pps = 1, isg = 0):
15 base_pkt = Ether()/IP(src = src, dst = dst)/UDP()
28 src, dst = self.ip_range['src'], self.ip_range['dst']
30 src, dst = self.ip_range['dst'], self.ip_range['src']
36 STLVmFlowVar(name = 'src', min_value = src['star
[all...]
H A Dudp_1pkt.py11 Ether()/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=12,sport=1025),
12 Ether()/Dot1Q(vlan=12)/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=12,sport=1025),
13 Ether()/Dot1Q(vlan=12)/Dot1Q(vlan=12)/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=12,sport=1025),
14 Ether()/Dot1Q(vlan=12)/IP(src="16.0.0.1",dst="48.0.0.1")/TCP(dport=12,sport=1025),
15 Ether()/Dot1Q(vlan=12)/IPv6(src="::5")/TCP(dport=12,sport=1025),
16 Ether()/IP()/UDP()/IPv6(src="::5")/TCP(dport=12,sport=1025)
H A Dudp_1pkt_ipv6_in_ipv4.py8 pkt = Ether()/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=3797,sport=3544)/IPv6(dst="2001:0:4137:9350:8000:f12a:b9c8:2815",src="2001:4860:0:2001::68")/UDP(dport=12,sport=1025)/ICMPv6Unknown()
16 STLVmWrFlowVar (fv_name="tuple.ip", pkt_offset= "IPv6.src",offset_fixup=12 ), # write ip to packet IPv6.src to LSB
H A Dimix.py11 self.ip_range = {'src': {'start': "16.0.0.1", 'end': "16.0.0.254"},
36 src = self.ip_range['src']
39 src = self.ip_range['dst']
40 dst = self.ip_range['src']
45 # src
46 STLVmFlowVar(name="src",min_value=src['start'],max_value=src['end'],size=4,op="inc"),
47 STLVmWrFlowVar(fv_name="src",pkt_offse
[all...]
H A Dudp_1pkt_simple.py9 pkt = Ether()/IP(src="16.0.0.1",dst="48.0.0.1")/
H A Dudp_1pkt_simple_bdir.py16 pkt = Ether()/IP(src=src_ip,dst=dst_ip)/
H A Dudp_1pkt_simple_burst.py9 pkt = Ether()/IP(src="16.0.0.1",dst="48.0.0.1")/
H A Dudp_1pkt_simple_mac_dst.py3 # stream will be sent with src MAC addrees dst="60:60:60:60:60:60" and not from default of trex_cfg.yaml port src mac
7 return STLStream( packet = STLPktBuilder(pkt = Ether(dst="60:60:60:60:60:60")/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=12,sport=1025)/(10*'x')),
H A Dmulti_burst_2st_1000pkt.py15 base_pkt = Ether()/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=12,sport=1025)
16 base_pkt1 = Ether()/IP(src="16.0.0.2",dst="48.0.0.1")/UDP(dport=12,sport=1025)
H A Dudp_1pkt_1mac_override.py4 # overide the src mac 00:bb:12:34:56:01 - 00:bb:12:34:56:0a
16 # Ether(src="00:bb:12:34:56:01") this will tell TRex to take the src-mac from packet and not from config file
17 base_pkt = Ether(src="00:bb:12:34:56:01")/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=12,sport=1025)
H A Dudp_1pkt_range_clients.py5 #Base src ip : 55.55.1.1, dst ip: Fixed
6 #Increment src ipt portion starting at 55.55.1.1 for 'n' number of clients (55.55.1.1, 55.55.1.2)
21 base_pkt = Ether(src="00:00:dd:dd:00:01")/IP(src="55.55.1.1",dst="58.0.0.1")/UDP(dport=12,sport=1025)
25 STLVmWrFlowVar(fv_name="mac_src", pkt_offset= 10), # write it to LSB of ethernet.src
26 STLVmWrFlowVar(fv_name="mac_src" ,pkt_offset="IP.src",offset_fixup=2), # it is 2 byte so there is a need to fixup in 2 bytes
H A Dudp_1pkt_range_clients_split.py5 #Base src ip : 55.55.1.1, dst ip: Fixed
6 #Increment src ipt portion starting at 55.55.1.1 for 'n' number of clients (55.55.1.1, 55.55.1.2)
21 base_pkt = Ether(src="00:00:dd:dd:00:01")/IP(src="55.55.1.1",dst="58.0.0.1")/UDP(dport=12,sport=1025)
25 STLVmWrFlowVar(fv_name="mac_src", pkt_offset= 10), # write it to LSB of ethernet.src
26 STLVmWrFlowVar(fv_name="mac_src" ,pkt_offset="IP.src",offset_fixup=2), # it is 2 byte so there is a need to fixup in 2 bytes
/trex/src/
H A Dinet_pton.cpp23 * inet_pton4(src, dst)
26 * 1 if `src' is a valid dotted quad, else 0.
33 my_inet_pton4(const char *src, u_char *dst) argument
43 while ((ch = *src++) != '\0') {
74 * inet_pton6(src, dst)
77 * 1 if `src' is a valid [RFC1884 2.2] address, else 0.
87 my_inet_pton6(const char *src, u_char *dst) argument
102 if (*src == ':')
103 if (*++src != ':')
105 curtok = src;
[all...]
/trex/scripts/stl/tests/
H A Dmany_streams.py7 packet = STLPktBuilder(pkt = Ether()/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=12,sport=1025)/(10*'x')),
14 packet = STLPktBuilder(pkt = Ether()/IP(src="16.0.0.1",dst="48.0.0.2")/UDP(dport=12,sport=1025)/(10*'x')),
22 packet = STLPktBuilder(pkt = Ether()/IP(src="16.0.0.1",dst="48.0.0.3")/UDP(dport=12,sport=1025)/(10*'x')),
29 packet = STLPktBuilder(pkt = Ether()/IP(src="16.0.0.1",dst="48.0.0.3")/UDP(dport=12,sport=1025)/(10*'x')),
36 packet = STLPktBuilder(pkt = Ether()/IP(src="16.0.0.1",dst="48.0.0.3")/UDP(dport=12,sport=1025)/(10*'x')),
H A Dmulti_burst.py6 s1 = STLStream(packet = STLPktBuilder(pkt = Ether()/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=12,sport=1025)/(10*'x')),
H A Dsingle_burst.py6 s1 = STLStream(packet = STLPktBuilder(pkt = Ether()/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=12,sport=1025)/(10*'x')),
H A Dsingle_cont.py6 s1 = STLStream(packet = STLPktBuilder(pkt = Ether()/IP(src="16.0.0.1",dst="48.0.0.1")/UDP(dport=12,sport=1025)/(10*'x')),
/trex/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/
H A Dpcap.py15 for src in pcap_file_list:
16 pkts = RawPcapReader(src)
19 os.unlink(src)
/trex/scripts/automation/trex_control_plane/stl/trex_stl_lib/rx_services/
H A Dtrex_stl_rx_service_ipv6.py17 self.src_mac = self.attr['layer_cfg']['ether']['src']
34 pkt = (Ether(src = self.src_mac, dst = dst_mac) /
35 IPv6(src = self.src_ip, dst = dst_ip) /
41 pkt = (Ether(src = self.src_mac, dst = dst_mac) /
42 IPv6(src = self.src_ip, dst = dst_ip) /
71 mld_pkt = (Ether(src = self.src_mac, dst = dst_mld_mac) /
72 IPv6(src = self.src_ip, dst = dst_mld_ip, hlim = 1) /
76 ping_pkt = (Ether(src = self.src_mac, dst = dst_mac) /
77 IPv6(src = self.src_ip, dst = self.dst_ip, hlim = 1) /
93 node_ip = scapy_pkt.getlayer(IPv6).src
[all...]

Completed in 11 milliseconds

12345678