Searched refs:sport (Results 1 – 4 of 4) sorted by relevance
/system/extras/tests/net_test/ |
D | multinetwork_test.py | 90 def UDP(cls, version, srcaddr, dstaddr, sport=0): argument 93 if sport == 0: 94 sport = cls.RandomPort() 97 scapy.UDP(sport=sport, dport=53) / UDP_PAYLOAD) 100 def UDPWithOptions(cls, version, srcaddr, dstaddr, sport=0): argument 103 scapy.UDP(sport=sport, dport=53) / 108 scapy.UDP(sport=sport, dport=53) / 113 def SYN(cls, dport, version, srcaddr, dstaddr, sport=0, seq=TCP_SEQ): argument 115 if sport == 0: 116 sport = cls.RandomPort() [all …]
|
D | multinetwork_base.py | 512 if expectedudp.sport is None: 513 actualudp.sport = None 530 if expectedtcp.sport is None: 531 actualtcp.sport = None
|
/system/core/libnetutils/ |
D | packet.h | 22 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport);
|
D | packet.c | 91 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport) in send_packet() argument 114 udp.source = htons(sport); in send_packet()
|