/external/syslinux/core/lwip/src/core/ |
udp.c | 40 /* udp.c 42 * The code for the User Datagram Protocol UDP & UDPLite (RFC 3828). 53 #include "lwip/udp.h" 67 /* The list of UDP PCBs */ 68 /* exported in udp.h (was static) */ 72 * Process an incoming UDP datagram. 74 * Given an incoming UDP datagram (as a chain of pbufs) this function 75 * finds a corresponding UDP PCB and hands over the pbuf to the pcbs 79 * @param p pbuf to be demultiplexed to a UDP PCB. 96 UDP_STATS_INC(udp.recv) [all...] |
/system/core/fastboot/ |
udp.h | 38 namespace udp { namespace 73 // Creates a UDP Transport object using a given Socket. Used for unit tests to create a Transport 79 } // namespace udp
|
/external/ltp/testcases/network/stress/ns-tools/ |
find_portbundle | 31 # $1: tcp or udp 69 udp)
|
/external/selinux/libsepol/tests/policies/test-cond/ |
refpolicy-base.conf | [all...] |
/external/dnsmasq/contrib/port-forward/ |
dnsmasq-portforward | 49 protocol=udp
|
/prebuilts/go/darwin-x86/src/net/ |
udpsock.go | 21 // UDPAddr represents the address of a UDP end point. 28 // Network returns the address's network name, "udp". 29 func (a *UDPAddr) Network() string { return "udp" } 56 // ResolveUDPAddr parses addr as a UDP address of the form "host:port" 58 // port name on the network net, which must be "udp", "udp4" or 67 case "udp", "udp4", "udp6": 69 net = "udp" 81 // for UDP network connections. 86 // ReadFromUDP reads a UDP packet from c, copying the payload into b. 135 // WriteToUDP writes a UDP packet to addr via c, copying the payloa [all...] |
main_test.go | 79 {"udp", "localhost:1", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 1}, nil}, 118 {"udp", "[" + addr + "%" + ifi.Name + "]:0", false}, 134 {"udp", "[localhost%" + ifi.Name + "]:0", true}, 143 {"udp", "[ip6-localhost%" + ifi.Name + "]:0", true},
|
error_test.go | 126 {"udp", JoinHostPort("127.0.0.1", "-1")}, 127 {"udp", JoinHostPort("127.0.0.1", "123456789")}, 159 if tt.network == "tcp" || tt.network == "udp" { 188 for _, network := range []string{"tcp", "udp", "ip:4294967296", "unix", "unixpacket", "unixgram"} { 193 case "udp": 336 {"udp", "127.0.0.1:?"}, 337 {"udp", "no-such-name:80"}, 338 {"udp", "mh/astro/r70:http"}, 340 {"udp", JoinHostPort("127.0.0.1", "-1")}, 341 {"udp", JoinHostPort("127.0.0.1", "123456789")} [all...] |
platform_test.go | 89 case "udp", "udp4", "udp6": 90 addr, err = ResolveUDPAddr("udp", address) 138 if !supportsIPv4map && supportsIPv4 && (network == "tcp" || network == "udp" || network == "ip") && wildcard { 153 // A few APIs, File, Read/WriteMsg{UDP,IP}, are not
|
/prebuilts/go/linux-x86/src/net/ |
udpsock.go | 21 // UDPAddr represents the address of a UDP end point. 28 // Network returns the address's network name, "udp". 29 func (a *UDPAddr) Network() string { return "udp" } 56 // ResolveUDPAddr parses addr as a UDP address of the form "host:port" 58 // port name on the network net, which must be "udp", "udp4" or 67 case "udp", "udp4", "udp6": 69 net = "udp" 81 // for UDP network connections. 86 // ReadFromUDP reads a UDP packet from c, copying the payload into b. 135 // WriteToUDP writes a UDP packet to addr via c, copying the payloa [all...] |
main_test.go | 79 {"udp", "localhost:1", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 1}, nil}, 118 {"udp", "[" + addr + "%" + ifi.Name + "]:0", false}, 134 {"udp", "[localhost%" + ifi.Name + "]:0", true}, 143 {"udp", "[ip6-localhost%" + ifi.Name + "]:0", true},
|
error_test.go | 126 {"udp", JoinHostPort("127.0.0.1", "-1")}, 127 {"udp", JoinHostPort("127.0.0.1", "123456789")}, 159 if tt.network == "tcp" || tt.network == "udp" { 188 for _, network := range []string{"tcp", "udp", "ip:4294967296", "unix", "unixpacket", "unixgram"} { 193 case "udp": 336 {"udp", "127.0.0.1:?"}, 337 {"udp", "no-such-name:80"}, 338 {"udp", "mh/astro/r70:http"}, 340 {"udp", JoinHostPort("127.0.0.1", "-1")}, 341 {"udp", JoinHostPort("127.0.0.1", "123456789")} [all...] |
platform_test.go | 89 case "udp", "udp4", "udp6": 90 addr, err = ResolveUDPAddr("udp", address) 138 if !supportsIPv4map && supportsIPv4 && (network == "tcp" || network == "udp" || network == "ip") && wildcard { 153 // A few APIs, File, Read/WriteMsg{UDP,IP}, are not
|
/external/libvpx/libvpx/vp8/common/ |
mfqe.c | 118 unsigned char *udp; local 198 for (up = u, udp = ud, i = 0; i < uvblksize; 199 ++i, up += uv_stride, udp += uvd_stride) { 200 memcpy(udp, up, uvblksize); 285 unsigned char *udp = ud_ptr + 4 * (i * dest->uv_stride + j); local 292 udp += dest->uv_stride, vp += show->uv_stride, 294 memcpy(udp, up, 4);
|
/prebuilts/go/darwin-x86/src/log/syslog/ |
syslog_test.go | 91 if n == "udp" || n == "tcp" { 108 if n == "udp" || n == "unixgram" { 140 for _, n := range []string{"unix", "unixgram", "udp", "tcp"} { 284 addr, sock, srvWG := startServer("udp", "", done) 287 l, err := Dial("udp", addr, test.pri, test.pre) 308 addr, sock, srvWG := startServer("udp", "", make(chan string, 1)) 311 w, err := Dial("udp", addr, LOG_USER|LOG_ERR, "how's it going?")
|
/prebuilts/go/linux-x86/src/log/syslog/ |
syslog_test.go | 91 if n == "udp" || n == "tcp" { 108 if n == "udp" || n == "unixgram" { 140 for _, n := range []string{"unix", "unixgram", "udp", "tcp"} { 284 addr, sock, srvWG := startServer("udp", "", done) 287 l, err := Dial("udp", addr, test.pri, test.pre) 308 addr, sock, srvWG := startServer("udp", "", make(chan string, 1)) 311 w, err := Dial("udp", addr, LOG_USER|LOG_ERR, "how's it going?")
|
/external/syslinux/core/lwip/src/api/ |
api_msg.c | 46 #include "lwip/udp.h" 138 * Receive callback function for UDP netconns. 141 * @see udp.h (struct udp_pcb.recv) for parameters 158 LWIP_ASSERT("recv_udp: recv for wrong pcb!", conn->pcb.udp == pcb); 183 /* get the UDP header - always in the first pbuf, ensured by udp_input */ 238 /* Unlike for UDP or RAW pcbs, don't check for available space 500 msg->conn->pcb.udp = udp_new(); 501 if(msg->conn->pcb.udp == NULL) { 507 udp_setflags(msg->conn->pcb.udp, UDP_FLAGS_UDPLITE); 511 udp_setflags(msg->conn->pcb.udp, UDP_FLAGS_NOCHKSUM) [all...] |
sockets.c | 52 #include "lwip/udp.h" 854 remote_port = sock->conn->pcb.udp->remote_port; 864 err = sock->conn->last_err = udp_sendto_chksum(sock->conn->pcb.udp, p, 867 err = sock->conn->last_err = udp_sendto(sock->conn->pcb.udp, p, [all...] |
/external/android-clat/ |
translate.c | 120 * protocol - protocol number (tcp, udp, etc) 154 * protocol - protocol number (tcp, udp, etc) 336 * takes a udp packet and sets it up for translation 338 * udp - pointer to udp header in packet 343 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, 353 payload = (const uint8_t *) (udp + 1); 356 return udp_translate(out, pos, udp, old_sum, new_sum, payload, payload_size); 395 * common between ipv4/ipv6 - setup checksum and send udp packet 397 * udp - udp heade [all...] |
clatd_test.cpp | 277 struct udphdr *udp = (struct udphdr *) payload; local 278 EXPECT_NE(0, udp->check) << msg << ": UDP checksum 0 should be 0xffff"; 279 // If this is not a fragment, check the UDP length field. 281 EXPECT_EQ(payload_length, ntohs(udp->len)) << msg << ": Incorrect UDP length\n"; 399 struct udphdr *udp; local 403 udp = (struct udphdr *) (ip + 1); 404 pseudo_checksum = ipv4_pseudo_header_checksum(ip, ntohs(udp->len)); 409 udp = (struct udphdr *) (ip6 + 1) 754 struct udphdr *udp; local [all...] |
/external/libnetfilter_conntrack/include/internal/ |
object.h | 67 } udp; member in union:__nfct_l4_src 87 } udp; member in union:__nfct_l4_dst
|
/prebuilts/go/darwin-x86/src/net/internal/socktest/ |
switch_posix.go | 54 return "udp"
|
/prebuilts/go/linux-x86/src/net/internal/socktest/ |
switch_posix.go | 54 return "udp"
|
/external/ltp/testcases/kernel/security/smack/ |
smack_set_socket_labels.c | 25 #include <netinet/udp.h>
|
/external/autotest/client/deps/lansim/src/py/ |
host.py | 233 receive and send packets. This module only supports UDP sockets. 249 """An asynchronous UDP socket interface. 251 This UDP socket interface provides a way to send and received UDP messages 263 """Initializes the UDP socket. 281 Calls recv_callback(pkt, src_addr, src_port) every time an UDP frame 303 "ip.udp.dport": port}, 304 lambda pkt: recv_callback(pkt.ip.udp.data, 306 pkt.ip.udp.sport)) 310 """Send an UDP message with the data string to ip_addr:port [all...] |