Home
last modified time | relevance | path

Searched refs:tos (Results 1 - 25 of 67) sorted by relevance

123

/third_party/lwip/src/include/lwip/
H A Dip.h95 u8_t tos; \
111 u8_t tos; \
255 #define ip_output(p, src, dest, ttl, tos, proto) \
257 ip6_output(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto) : \
258 ip4_output(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto))
263 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \
265 ip6_output_if(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto, netif) : \
266 ip4_output_if(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto, netif))
271 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \
273 ip6_output_if_src(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, prot
[all...]
H A Dip4.h81 u8_t ttl, u8_t tos, u8_t proto);
83 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif);
85 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif);
88 u8_t ttl, u8_t tos, u8_t proto, struct netif_hint *netif_hint);
92 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
95 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
H A Dsockets.h364 #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK)
381 #define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK)
/third_party/pulseaudio/src/pulsecore/
H A Dsocket-util.c166 int tos = IPTOS_LOWDELAY; in pa_make_tcp_socket_low_delay() local
168 if (setsockopt(fd, SOL_IP, IP_TOS, (const void *) &tos, sizeof(tos)) < 0) in pa_make_tcp_socket_low_delay()
170 if (setsockopt(fd, IPPROTO_IP, IP_TOS, (const void *) &tos, sizeof(tos)) < 0) in pa_make_tcp_socket_low_delay()
184 int tos = IPTOS_LOWDELAY; in pa_make_udp_socket_low_delay() local
186 if (setsockopt(fd, SOL_IP, IP_TOS, (const void *) &tos, sizeof(tos)) < 0) in pa_make_udp_socket_low_delay()
188 if (setsockopt(fd, IPPROTO_IP, IP_TOS, (const void *) &tos, sizeof(tos)) < in pa_make_udp_socket_low_delay()
[all...]
/third_party/musl/porting/liteos_a/kernel/include/netinet/
H A Dip.h32 uint8_t tos; member
119 #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK)
127 #define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK)
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/
H A Dip.h32 uint8_t tos; member
119 #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK)
127 #define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK)
/third_party/musl/porting/uniproton/kernel/include/netinet/
H A Dip.h32 uint8_t tos; member
119 #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK)
127 #define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK)
/third_party/musl/porting/liteos_m/kernel/include/netinet/
H A Dip.h32 uint8_t tos; member
119 #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK)
127 #define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK)
/third_party/musl/include/netinet/
H A Dip.h32 uint8_t tos; member
119 #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK)
127 #define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK)
/third_party/lwip/src/core/ipv4/
H A Dip4.c817 * @param tos the TOS value to be set in the IP header
829 u8_t ttl, u8_t tos,
833 return ip4_output_if_opt(p, src, dest, ttl, tos, proto, netif, NULL, 0);
844 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
856 return ip4_output_if_opt_src(p, src_used, dest, ttl, tos, proto, netif,
859 return ip4_output_if_src(p, src_used, dest, ttl, tos, proto, netif);
869 u8_t ttl, u8_t tos,
873 return ip4_output_if_opt_src(p, src, dest, ttl, tos, proto, netif, NULL, 0);
882 u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options,
962 IPH_TOS_SET(iphdr, tos);
828 ip4_output_if(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) global() argument
843 ip4_output_if_opt(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) global() argument
868 ip4_output_if_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif) global() argument
881 ip4_output_if_opt_src(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif *netif, void *ip_options, u16_t optlen) global() argument
1069 ip4_output(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto) global() argument
1111 ip4_output_hinted(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest, u8_t ttl, u8_t tos, u8_t proto, struct netif_hint *netif_hint) global() argument
[all...]
/third_party/libunwind/libunwind/src/dwarf/
H A DGexpr.c249 unsigned int tos = 0; in dwarf_eval_expr() local
260 (((tos - 1) >= MAX_EXPR_STACK_SIZE) ? \ in dwarf_eval_expr()
261 stackerror++ : stack[--tos]); \ in dwarf_eval_expr()
274 if (tos >= MAX_EXPR_STACK_SIZE) \ in dwarf_eval_expr()
279 stack[tos++] = _x; \ in dwarf_eval_expr()
285 (((tos - 1 - (n)) >= MAX_EXPR_STACK_SIZE) ? \ in dwarf_eval_expr()
286 stackerror++ : stack[tos - 1 - (n)]); \ in dwarf_eval_expr()
/third_party/musl/porting/liteos_a/kernel/include/net/
H A Droute.h94 #define RT_TOS(tos) ((tos) & IPTOS_TOS_MASK)
/third_party/musl/porting/liteos_m_iccarm/kernel/include/net/
H A Droute.h94 #define RT_TOS(tos) ((tos) & IPTOS_TOS_MASK)
/third_party/musl/porting/uniproton/kernel/include/net/
H A Droute.h94 #define RT_TOS(tos) ((tos) & IPTOS_TOS_MASK)
/third_party/musl/porting/liteos_m/kernel/include/net/
H A Droute.h94 #define RT_TOS(tos) ((tos) & IPTOS_TOS_MASK)
/third_party/lwip/src/include/lwip/prot/
H A Dip4.h120 #define IPH_TOS_SET(hdr, tos) (hdr)->_tos = (tos)
/third_party/musl/include/net/
H A Droute.h94 #define RT_TOS(tos) ((tos) & IPTOS_TOS_MASK)
/third_party/toybox/toys/pending/
H A Dtraceroute.c56 long tos;
564 perror_exit("IP_TOS %ld failed ", TT.tos); in traceroute_main()
571 } else if (setsockopt(TT.snd_sock, IPPROTO_IPV6, IPV6_TCLASS, &TT.tos, in traceroute_main()
572 sizeof(TT.tos)) < 0) perror_exit("IPV6_TCLASS %ld failed ", TT.tos); in traceroute_main()
/third_party/curl/tests/server/
H A Dsws.c1404 ssize_t tos[2] = {0, 0}; /* number of bytes to server */ in http_connect() local
1489 if(poll_server_wr[i] && tos[i]) { in http_connect()
1568 tos[DATA] = 0; in http_connect()
1591 len = sizeof(readclient[i]) - tos[i]; in http_connect()
1594 rc = sread(clientfd[i], &readclient[i][tos[i]], len); in http_connect()
1603 data_to_hex(&readclient[i][tos[i]], rc)); in http_connect()
1604 tos[i] += rc; in http_connect()
1647 if(tos[i] && FD_ISSET(serverfd[i], &output)) { in http_connect()
1649 rc = swrite(serverfd[i], readclient[i], tos[i]); in http_connect()
1660 if(tos[ in http_connect()
[all...]
/third_party/node/deps/v8/src/codegen/arm64/
H A Dmacro-assembler-arm64.cc1271 MemOperand tos(sp, -2 * static_cast<int>(kXRegSize), PreIndex); in PushCalleeSavedRegisters()
1273 stp(d14, d15, tos); in PushCalleeSavedRegisters()
1274 stp(d12, d13, tos); in PushCalleeSavedRegisters()
1275 stp(d10, d11, tos); in PushCalleeSavedRegisters()
1276 stp(d8, d9, tos); in PushCalleeSavedRegisters()
1278 stp(x27, x28, tos); in PushCalleeSavedRegisters()
1279 stp(x25, x26, tos); in PushCalleeSavedRegisters()
1280 stp(x23, x24, tos); in PushCalleeSavedRegisters()
1281 stp(x21, x22, tos); in PushCalleeSavedRegisters()
1282 stp(x19, x20, tos); in PushCalleeSavedRegisters()
[all...]
/third_party/vixl/src/aarch64/
H A Dmacro-assembler-aarch64.cc2503 MemOperand tos(sp, -2 * static_cast<int>(kXRegSizeInBytes), PreIndex); in Emit()
2505 stp(x29, x30, tos); in Emit()
2506 stp(x27, x28, tos); in Emit()
2507 stp(x25, x26, tos); in Emit()
2508 stp(x23, x24, tos); in Emit()
2509 stp(x21, x22, tos); in Emit()
2510 stp(x19, x20, tos); in Emit()
2512 stp(d14, d15, tos); in Emit()
2513 stp(d12, d13, tos); in Emit()
2514 stp(d10, d11, tos); in Emit()
[all...]
/third_party/node/deps/v8/src/profiler/
H A Dtick-sample.h89 void* tos; // Top stack value (*sp). member
H A Dtick-sample.cc196 // tos = in Init()
198 tos = nullptr; in Init()
200 tos = nullptr; in Init()
367 has_external_callback ? "external_callback_entry" : "tos", tos); in print()
/third_party/nghttp2/src/
H A Dshrpx_quic.cc130 unsigned int tos = pi.ecn; in quic_send_packet() local
131 memcpy(CMSG_DATA(cm), &tos, sizeof(tos)); in quic_send_packet() local
/third_party/rust/crates/nix/test/sys/
H A Dtest_sockopt.rs410 let tos = 0x80; // CS4 in test_ip_tos()
411 setsockopt(fd, sockopt::IpTos, &tos).unwrap(); in test_ip_tos()
412 assert_eq!(getsockopt(fd, sockopt::IpTos).unwrap(), tos); in test_ip_tos()

Completed in 33 milliseconds

123