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

12

/drivers/staging/rtl8712/
H A Dip.h25 #define IPTOS_TOS(tos) ((tos)&IPTOS_TOS_MASK)
32 #define IPTOS_PREC(tos) ((tos)&IPTOS_PREC_MASK)
124 __u8 tos; member in struct:iphdr
H A Dxmit_linux.c96 /*UserPriority = (ntohs(ip_hdr.tos) >> 5) & 0x3 ;*/
97 UserPriority = ip_hdr.tos >> 5;
/drivers/infiniband/hw/cxgb3/
H A Diwch_cm.h189 u8 tos; member in struct:iwch_ep
H A Diwch_cm.c338 __be16 peer_port, u8 tos)
345 tos, 0);
454 opt0l = V_TOS((ep->tos >> 2) & M_TOS) | V_RCV_BUFSIZ(rcv_win>>10);
1290 opt0l = V_TOS((ep->tos >> 2) & M_TOS) | V_RCV_BUFSIZ(rcv_win>>10);
1403 child_ep->tos = G_PASS_OPEN_TOS(ntohl(req->tos_tid));
1953 ep->tos = IPTOS_LOWDELAY;
336 find_route(struct t3cdev *dev, __be32 local_ip, __be32 peer_ip, __be16 local_port, __be16 peer_port, u8 tos) argument
/drivers/net/wireless/bcmdhd/include/proto/
H A Dbcmip.h108 uint8 tos; member in struct:ipv4_hdr
/drivers/net/slip/
H A Dslhc.c344 || ip->tos != cs->cs_ip.tos
/drivers/net/ethernet/broadcom/
H A Dcnic_if.h242 u8 tos; member in struct:cnic_sock
H A Dcnic_defs.h348 u8 tos; member in struct:l4_kwq_connect_req3
352 u8 tos; member in struct:l4_kwq_connect_req3
4319 u8 tos; member in struct:xstorm_ip_v4_context_section
4323 u8 tos; member in struct:xstorm_ip_v4_context_section
/drivers/net/wireless/mwifiex/
H A Dwmm.c330 mwifiex_wmm_convert_tos_to_ac(struct mwifiex_adapter *adapter, u32 tos) argument
343 if (tos >= ARRAY_SIZE(tos_to_ac))
346 return tos_to_ac[tos];
H A Dmain.c371 tid = IPTOS_PREC(iph->tos);
/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c967 gfar_set_attribute(value->tos, mask->tos, RQFCR_PID_TOS, tab);
976 gfar_set_attribute(value->tos, mask->tos, RQFCR_PID_TOS, tab);
/drivers/net/wireless/ipw2x00/
H A Dlibipw_tx.c233 switch (ip->tos & 0xfc) {
/drivers/staging/rtl8187se/ieee80211/
H A Dieee80211_tx.c289 wme_UP = (ih->tos >> 5)&0x07;
/drivers/infiniband/hw/cxgb4/
H A Dcm.c316 __be16 peer_port, u8 tos)
323 tos, 0);
474 DSCP(ep->tos) |
1500 DSCP(ep->tos) |
1684 child_ep->tos = GET_POPEN_TOS(ntohl(req->tos_stid));
1860 ep->tos = 0;
2303 ep->tos = 0;
314 find_route(struct c4iw_dev *dev, __be32 local_ip, __be32 peer_ip, __be16 local_port, __be16 peer_port, u8 tos) argument
H A Diw_cxgb4.h672 u8 tos; member in struct:c4iw_ep
/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_tx.c285 switch (ip->tos & 0xfc) {
/drivers/infiniband/core/
H A Dcma.c140 u8 tos; member in struct:rdma_id_private
1591 void rdma_set_service_type(struct rdma_cm_id *id, int tos) argument
1596 id_priv->tos = (u8) tos;
1643 path_rec.qos_class = cpu_to_be16((u16) id_priv->tos);
1829 route->path_rec->sl = id_priv->tos >> 5;
/drivers/s390/net/
H A Dqeth_core_main.c3612 const u8 tos = ip_hdr(skb)->tos; local
3616 if (tos & IP_TOS_NOTIMPORTANT)
3618 if (tos & IP_TOS_HIGHRELIABILITY)
3620 if (tos & IP_TOS_HIGHTHROUGHPUT)
3622 if (tos & IP_TOS_LOWDELAY)
3627 return 3 - (tos >> 6);
/drivers/net/ethernet/sfc/
H A Dethtool.c997 if (ip_mask->tos | rule->m_ext.vlan_tci)
/drivers/net/ppp/
H A Dpptp.c272 iph->tos = 0;
/drivers/staging/bcm/
H A DQos.c247 MatchTos(pstClassifierRule, iphd->tos)))
/drivers/staging/rtl8192e/
H A Drtllib_tx.c264 switch (ip->tos & 0xfc) {
/drivers/net/ethernet/micrel/
H A Dksz884x.c2593 int tos; local
2613 for (tos = 0; tos < DIFFSERV_ENTRIES; tos++)
2614 sw->diffserv[tos] = 0;
/drivers/scsi/cxgbi/
H A Dlibcxgbi.c456 __be16 sport, __be16 dport, u8 tos)
461 dport, sport, IPPROTO_TCP, tos, 0);
454 find_route_ipv4(struct flowi4 *fl4, __be32 saddr, __be32 daddr, __be16 sport, __be16 dport, u8 tos) argument
/drivers/net/ethernet/sun/
H A Dniu.c7121 fsp->h_u.tcp_ip4_spec.tos = (tp->key[2] & TCAM_V4KEY2_TOS) >>
7123 fsp->m_u.tcp_ip4_spec.tos = (tp->key_mask[2] & TCAM_V4KEY2_TOS) >>
7396 tp->key[2] |= ((u64)fsp->h_u.tcp_ip4_spec.tos <<
7398 tp->key_mask[2] |= ((u64)fsp->m_u.tcp_ip4_spec.tos <<
7498 uspec->tos,
7499 umask->tos);

Completed in 655 milliseconds

12