Searched refs:tclass (Results 1 - 25 of 67) sorted by last modified time

123

/linux-master/net/ipv6/
H A Dudp.c1551 if (ipc6.tclass < 0)
1552 ipc6.tclass = np->tclass;
1554 fl6->flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6->flowlabel);
H A Draw.c893 if (ipc6.tclass < 0)
894 ipc6.tclass = np->tclass;
896 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel);
H A Dip6_output.c264 __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority)
330 ip6_flow_hdr(hdr, tclass, ip6_make_flowlabel(net, skb, fl6->flowlabel,
1379 v6_cork->tclass = ipc6->tclass;
1917 ip6_flow_hdr(hdr, v6_cork->tclass,
263 ip6_xmit(const struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6, __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority) argument
H A Dtcp_ipv6.c265 fl6.flowlabel = ip6_make_flowinfo(np->tclass, np->flow_label);
539 u8 tclass; local
556 tclass = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_reflect_tos) ?
558 (np->tclass & INET_ECN_MASK) :
559 np->tclass;
561 if (!INET_ECN_is_capable(tclass) &&
563 tclass |= INET_ECN_ECT_0;
570 opt, tclass, READ_ONCE(sk->sk_priority));
866 int oif, int rst, u8 tclass, __be32 label,
999 tclass
864 tcp_v6_send_response(const struct sock *sk, struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, int rst, u8 tclass, __be32 label, u32 priority, u32 txhash, struct tcp_key *key) argument
1144 tcp_v6_send_ack(const struct sock *sk, struct sk_buff *skb, u32 seq, u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, struct tcp_key *key, u8 tclass, __be32 label, u32 priority, u32 txhash) argument
[all...]
H A Dndisc.c450 unsigned tclass; local
454 tclass = idev ? READ_ONCE(idev->cnf.ndisc_tclass) : 0;
461 ip6_flow_hdr(hdr, tclass, 0);
H A Dipv6_sockglue.c745 val |= np->tclass & INET_ECN_MASK;
747 if (np->tclass != val) {
748 np->tclass = val;
1172 int tclass = (int)ip6_tclass(np->rcv_flowinfo); local
1174 put_cmsg(&msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass);
1278 val = np->tclass;
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dpci.c294 int tclass; local
301 tclass = q->num == MLXSW_PCI_SDQ_EMAD_INDEX ? MLXSW_PCI_SDQ_EMAD_TC :
309 mlxsw_cmd_mbox_sw2hw_dq_sdq_tclass_set(mbox, tclass);
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c3787 u8 tclass; local
3798 tclass = hw->local_dcbx_config.etscfg.prioritytable[prio];
3800 if (unlikely(!(vsi->tc_config.enabled_tc & BIT(tclass))))
3801 tclass = 0;
3804 qcount = vsi->tc_config.tc_info[tclass].qcount;
3807 qoffset = vsi->tc_config.tc_info[tclass].qoffset;
/linux-master/security/selinux/
H A Dselinuxfs.c733 u16 tclass; local
771 if (sscanf(req, "%s %s %hu %s", oldcon, newcon, &tclass, taskcon) != 4)
786 rc = security_validate_transition_user(osid, nsid, tsid, tclass);
858 u16 tclass; local
878 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3)
889 security_compute_av_user(ssid, tsid, tclass, &avd);
907 u16 tclass; local
935 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf);
977 length = security_transition_sid_user(ssid, tsid, tclass,
1007 u16 tclass; local
1127 u16 tclass; local
[all...]
H A Dhooks.c1310 u16 tclass,
1336 path, tclass, sid);
1773 const struct qstr *name, u16 tclass,
1788 dsec->sid, tclass,
1798 u16 tclass)
1821 rc = selinux_determine_inode_label(tsec, dir, &dentry->d_name, tclass,
1826 rc = avc_has_perm(sid, newsid, tclass, FILE__CREATE, &ad);
1309 selinux_genfs_get_sid(struct dentry *dentry, u16 tclass, u16 flags, u32 *sid) argument
1771 selinux_determine_inode_label(const struct task_security_struct *tsec, struct inode *dir, const struct qstr *name, u16 tclass, u32 *_new_isid) argument
1796 may_create(struct inode *dir, struct dentry *dentry, u16 tclass) argument
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c5918 if (!spec->tclass)
5943 if (!spec->tclass)
6246 rule->tuples.ip_tos = fs->h_u.tcp_ip6_spec.tclass;
6247 rule->tuples_mask.ip_tos = fs->m_u.tcp_ip6_spec.tclass;
6269 rule->tuples.ip_tos = fs->h_u.tcp_ip6_spec.tclass;
6270 rule->tuples_mask.ip_tos = fs->m_u.tcp_ip6_spec.tclass;
6709 spec->tclass = rule->tuples.ip_tos;
6710 spec_mask->tclass = rule->unused_tuple & BIT(INNER_IP_TOS) ?
6740 spec->tclass = rule->tuples.ip_tos;
6741 spec_mask->tclass
[all...]
/linux-master/net/ipv4/
H A Dtcp_minisocks.c325 tw->tw_tclass = np->tclass;
H A Dinet_diag.c147 inet6_sk(sk)->tclass) < 0)
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c444 hr_reg_write(ud_sq_wqe, UD_SEND_WQE_TCLASS, ah->av.tclass);
H A Dhns_roce_device.h521 u8 tclass; member in struct:hns_roce_av
/linux-master/include/linux/mlx5/
H A Dmlx5_ifc.h799 u8 tclass[0x8]; member in struct:mlx5_ifc_ads_bits
4319 u8 tclass[0x8]; member in struct:mlx5_ifc_dctc_bits
10500 u8 tclass[0x8]; member in struct:mlx5_ifc_ud_adrs_vector_bits
11402 u8 tclass[0x3]; member in struct:mlx5_ifc_qtct_reg_bits
/linux-master/security/selinux/ss/
H A Dpolicydb.h85 u32 tclass; /* process class, or new object class */ member in struct:role_trans_key
94 u16 tclass; /* class of new object */ member in struct:filename_trans_key
390 extern u32 string_to_av_perm(struct policydb *p, u16 tclass, const char *name);
H A Dpolicydb.c413 unsigned long salt = ft->ttype ^ ft->tclass;
428 v = ft1->tclass - ft2->tclass;
488 (u32)key->tclass << 16 | key->tclass, 0);
504 return key1->tclass - key2->tclass;
1811 u32 string_to_av_perm(struct policydb *p, u16 tclass, const char *name) argument
1817 if (!tclass || tclass >
1998 u32 len, ttype, tclass, ndatum, i; local
[all...]
H A Dmls.c481 struct context *tcontext, u16 tclass, u32 specified,
497 rtr.target_class = tclass;
502 if (tclass && tclass <= p->p_classes.nprim) {
503 cladatum = p->class_val_to_struct[tclass - 1];
528 if ((tclass == p->process_class) || sock)
480 mls_compute_sid(struct policydb *p, struct context *scontext, struct context *tcontext, u16 tclass, u32 specified, struct context *newcontext, bool sock) argument
H A Dmls.h46 struct context *tcontext, u16 tclass, u32 specified,
/linux-master/net/ipv6/netfilter/
H A Dnf_reject_ipv6.c204 const __u8 tclass = DEFAULT_TOS_VALUE; local
209 ip6_flow_hdr(ip6h, tclass, 0);
/linux-master/net/ethtool/
H A Dioctl.c3368 if (v6_m_spec->tclass) {
3369 match->key.ip.tos = v6_spec->tclass;
3370 match->mask.ip.tos = v6_m_spec->tclass;
/linux-master/include/uapi/linux/
H A Dethtool.h1026 * @tclass: Traffic Class
1035 __u8 tclass; member in struct:ethtool_tcpip6_spec
1043 * @tclass: Traffic Class
1051 __u8 tclass; member in struct:ethtool_ah_espip6_spec
1059 * @tclass: Traffic Class
1066 __u8 tclass; member in struct:ethtool_usrip6_spec
/linux-master/include/net/
H A Dipv6.h360 __s16 tclass; member in struct:ipcm6_cookie
370 .tclass = -1,
380 .tclass = inet6_sk(sk)->tclass,
1037 static inline void ip6_flow_hdr(struct ipv6hdr *hdr, unsigned int tclass, argument
1040 *(__be32 *)hdr = htonl(0x60000000 | (tclass << 20)) | flowlabel;
1063 static inline __be32 ip6_make_flowinfo(unsigned int tclass, __be32 flowlabel) argument
1065 return htonl(tclass << IPV6_TCLASS_SHIFT) | flowlabel;
1092 __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority);
/linux-master/include/linux/
H A Dipv6.h208 u8 tclass; member in struct:inet6_cork
259 __u8 tclass; member in struct:ipv6_pinfo

Completed in 548 milliseconds

123