/freebsd-13-stable/sys/netgraph/ |
H A D | ng_vlan.h | 72 uint8_t pcp; /* PCP - Priority Code Point. */ member in struct:ng_vlan_filter 82 { "pcp", &ng_parse_uint8_type }, \ 90 { "pcp", &ng_parse_uint8_type }, \
|
H A D | ng_vlan.c | 288 vf->pcp & ~7 || 318 EVL_MAKETAG(vf->vid, vf->pcp, vf->cfi))); 420 vf->pcp = EVL_PRIOFTAG(hook_data);
|
/freebsd-13-stable/sys/dev/pci/ |
H A D | pci_user.c | 774 pci_conf_for_copyout(const struct pci_conf *pcp, union pci_conf_union *pcup, argument 782 pcup->pc = *pcp; 787 pcup->pc32.pc_sel = pcp->pc_sel; 788 pcup->pc32.pc_hdr = pcp->pc_hdr; 789 pcup->pc32.pc_subvendor = pcp->pc_subvendor; 790 pcup->pc32.pc_subdevice = pcp->pc_subdevice; 791 pcup->pc32.pc_vendor = pcp->pc_vendor; 792 pcup->pc32.pc_device = pcp->pc_device; 793 pcup->pc32.pc_class = pcp->pc_class; 794 pcup->pc32.pc_subclass = pcp [all...] |
/freebsd-13-stable/sys/netinet/ |
H A D | toecore.c | 411 uint16_t vid, pcp; local 437 pcp = 0; 451 VLAN_PCP(ifp, &pcp); 454 tod->tod_l2_update(tod, ifp, sa, lladdr, EVL_MAKETAG(vid, pcp, 0)); 467 uint16_t vid, pcp; local 486 pcp = 0; 489 VLAN_PCP(ifp, &pcp); 492 pcp = ifp->if_pcp; 494 *vtag = EVL_MAKETAG(vid, pcp, 0);
|
/freebsd-13-stable/sbin/ifconfig/ |
H A D | af_link.c | 119 goto pcp; 131 pcp:
|
/freebsd-13-stable/usr.sbin/ctld/ |
H A D | token.l | 66 pcp { return PCP; }
|
H A D | ctld.c | 2225 int pcp = newpg->pg_pcp; local 2229 &pcp, sizeof(pcp)) == -1) 2237 &pcp, sizeof(pcp)) == -1)
|
/freebsd-13-stable/usr.bin/iscsictl/ |
H A D | token.l | 71 pcp { return PCP; }
|
H A D | parse.y | 135 pcp 349 pcp: PCP EQUALS STR label 354 xo_errx(1, "duplicated pcp at line %d", lineno); 362 yyerror("invalid pcp value");
|
/freebsd-13-stable/sys/dev/cxgbe/tom/ |
H A D | t4_tom_l2t.c | 359 uint16_t vid, pcp, vtag; local 366 pcp = 0; 369 VLAN_PCP(ifp, &pcp); 372 pcp = ifp->if_pcp; 374 vtag = EVL_MAKETAG(vid, pcp, 0);
|
H A D | t4_connect.c | 241 uint16_t vid = 0xfff, pcp = 0; local 254 VLAN_PCP(rt_ifp, &pcp); 264 EVL_MAKETAG(vid, pcp, 0), inp);
|
/freebsd-13-stable/sys/net/ |
H A D | if_vlan_var.h | 133 uint8_t pcp; member in struct:ether_8021q_tag
|
H A D | if_ethersubr.c | 439 ether_set_pcp(struct mbuf **mp, struct ifnet *ifp, uint8_t pcp) argument 450 qtag.pcp = pcp; 467 uint8_t pcp; local 469 pcp = ifp->if_pcp; 470 if (pcp != IFNET_PCP_NONE && ifp->if_type != IFT_L2VLAN && 471 !ether_set_pcp(&m, ifp, pcp)) 1398 qtag->pcp = EVL_PRIOFTAG((*mp)->m_pkthdr.ether_vtag); 1412 tag = EVL_MAKETAG(qtag->vid, qtag->pcp, 0);
|
H A D | if_vlan.c | 198 #define ifv_pcp ifv_qtag.pcp
|
/freebsd-13-stable/usr.sbin/iscsid/ |
H A D | iscsid.c | 306 int pcp = conn->conn_conf.isc_pcp; local 310 &pcp, sizeof(pcp)) == -1) 318 &pcp, sizeof(pcp)) == -1)
|
/freebsd-13-stable/contrib/tcsh/ |
H A D | sh.set.c | 1265 autoset_dspmbyte(const Char *pcp) argument 1301 if (dspmc[i].n[0] && t_pmatch(pcp, dspmc[i].n, &estr, 0) > 0) { 1310 if (*pcp == '\0') 1315 if (dspmt[i].n[0] && t_pmatch(pcp, dspmt[i].n, &estr, 0) > 0) {
|
/freebsd-13-stable/sys/dev/mlx5/ |
H A D | vport.h | 152 u16 vlan, u8 cfi, u8 pcp);
|
/freebsd-13-stable/sbin/ping/ |
H A D | ping.c | 253 int ssend_errno, srecv_errno, tos, ttl, pcp; local 301 alarmtimeout = df = preload = tos = pcp = 0; 328 pcp = ltmp; 682 (void)setsockopt(ssend, IPPROTO_IP, IP_VLAN_PCP, (char *)&pcp, 683 sizeof(pcp));
|
H A D | ping6.c | 236 static int pcp = -2; /* vlan priority code point */ variable 422 pcp = strtol(optarg, &e, 10); 424 errx(1, "illegal vlan pcp %s", optarg); 425 if (7 < pcp || pcp < -1) 426 errx(1, "illegal vlan pcp -- %s", optarg); 967 if (pcp != -2) { 969 &pcp, sizeof(pcp)) == -1)
|
/freebsd-13-stable/usr.bin/unifdef/ |
H A D | unifdef.c | 1256 const char *pcp; local 1260 cp = skipcomment(pcp = cp); 1261 if (pcp == cp)
|
/freebsd-13-stable/contrib/tcpdump/ |
H A D | print-openflow-1.0.c | 712 pcp_str(const uint8_t pcp) argument 715 snprintf(buf, sizeof(buf), pcp <= 7 ? "%u" : "%u (bogus)", pcp);
|
/freebsd-13-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_vport.c | 1315 u16 vlan, u8 cfi, u8 pcp) 1325 esw_vport_context.cvlan_pcp, pcp); 1313 mlx5_set_eswitch_cvlan_info(struct mlx5_core_dev *mdev, u8 vport, u8 insert_mode, u8 strip_mode, u16 vlan, u8 cfi, u8 pcp) argument
|
/freebsd-13-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_qp.c | 2588 u16 pcp = (be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) >> 29) << 13; local 2593 mlx->sched_prio = cpu_to_be16(pcp); 2608 sqp->ud_header.vlan.tag = cpu_to_be16(vlan | pcp);
|
/freebsd-13-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-pcieepx-defs.h | 3293 uint32_t pcp : 1; /**< Power Controller Present, writable through PEM(0..1)_CFG_WR member in struct:cvmx_pcieepx_cfg033::cvmx_pcieepx_cfg033_s 3299 uint32_t pcp : 1;
|
H A D | cvmx-pciercx-defs.h | 2836 uint32_t pcp : 1; /**< Power Controller Present, writable through PEM(0..1)_CFG_WR member in struct:cvmx_pciercx_cfg033::cvmx_pciercx_cfg033_s 2842 uint32_t pcp : 1;
|