Searched refs:pvc (Results 1 – 4 of 4) sorted by relevance
169 struct pvc_device *pvc = state(hdlc)->first_pvc; in find_pvc() local171 while (pvc) { in find_pvc()172 if (pvc->dlci == dlci) in find_pvc()173 return pvc; in find_pvc()174 if (pvc->dlci > dlci) in find_pvc()176 pvc = pvc->next; in find_pvc()185 struct pvc_device *pvc, **pvc_p = &state(hdlc)->first_pvc; in add_pvc() local195 pvc = kzalloc_obj(*pvc, GFP_ATOMIC); in add_pvc()197 printk(KERN_DEBUG "add_pvc: allocated pvc %p, frad %p\n", pvc, dev); in add_pvc()199 if (!pvc) in add_pvc()[all …]
781 struct sockaddr_atmpvc pvc; in vcc_getsockopt() local785 memset(&pvc, 0, sizeof(pvc)); in vcc_getsockopt()786 pvc.sap_family = AF_ATMPVC; in vcc_getsockopt()787 pvc.sap_addr.itf = vcc->dev->number; in vcc_getsockopt()788 pvc.sap_addr.vpi = vcc->vpi; in vcc_getsockopt()789 pvc.sap_addr.vci = vcc->vci; in vcc_getsockopt()790 return copy_to_iter(&pvc, sizeof(pvc), &opt->iter_out) != in vcc_getsockopt()791 sizeof(pvc) ? -EFAULT : 0; in vcc_getsockopt()
67 使用pvc设备。
60 any IP address to it) before using pvc devices.