Home
last modified time | relevance | path

Searched refs:dscp (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/net/ip/
Dipv4.h277 static inline void net_ipv4_set_dscp(uint8_t *tos, uint8_t dscp) in net_ipv4_set_dscp() argument
280 *tos |= (dscp << NET_IPV4_DSCP_OFFSET) & NET_IPV4_DSCP_MASK; in net_ipv4_set_dscp()
288 static inline uint8_t net_ipv4_dscp_to_priority(uint8_t dscp) in net_ipv4_dscp_to_priority() argument
290 return dscp >> 3; in net_ipv4_dscp_to_priority()
Dipv6.h539 static inline void net_ipv6_set_dscp(uint8_t *tc, uint8_t dscp) in net_ipv6_set_dscp() argument
542 *tc |= (dscp << NET_IPV6_DSCP_OFFSET) & NET_IPV6_DSCP_MASK; in net_ipv6_set_dscp()
550 static inline uint8_t net_ipv6_dscp_to_priority(uint8_t dscp) in net_ipv6_dscp_to_priority() argument
552 return dscp >> 3; in net_ipv6_dscp_to_priority()
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h551 static inline void net_pkt_set_ip_dscp(struct net_pkt *pkt, uint8_t dscp) in net_pkt_set_ip_dscp() argument
554 pkt->ip_dscp = dscp; in net_pkt_set_ip_dscp()
557 ARG_UNUSED(dscp); in net_pkt_set_ip_dscp()