MCPcopy Create free account
hub / github.com/FDio/vpp / send

Method send

test/util.py:316–322  ·  view source on GitHub ↗
(self, side, flags=None, payload="")

Source from the content-addressed store, hash-verified

314 return p
315
316 def send(self, side, flags=None, payload=""):
317 l4args = {}
318 if flags is not None:
319 l4args["flags"] = flags
320 self.ifs[side].add_stream(self.pkt(side, l4args=l4args, payload=payload))
321 self.ifs[1 - side].enable_capture()
322 self.testcase.pg_start()
323
324 def recv(self, side):
325 p = self.ifs[side].wait_for_packet(1)

Callers 15

send_throughMethod · 0.95
test_runner_wrapperFunction · 0.45
send_keep_aliveMethod · 0.45
run_active_conn_testMethod · 0.45
_remote_execMethod · 0.45
runMethod · 0.45
send_keep_aliveMethod · 0.45
manage_routeFunction · 0.45
set_arpFunction · 0.45

Calls 4

pktMethod · 0.95
pg_startMethod · 0.80
add_streamMethod · 0.45
enable_captureMethod · 0.45

Tested by 4

test_runner_wrapperFunction · 0.36
run_active_conn_testMethod · 0.36
_remote_execMethod · 0.36
runMethod · 0.36