Searched refs:udpp (Results 1 – 2 of 2) sorted by relevance
/dragonfly/lib/libusb/ |
H A D | libusb20_ugen20.c | 654 struct usb_device_port_path udpp; in ugen20_get_port_path() local 656 if (ioctl(pdev->file_ctrl, IOUSB(USB_GET_DEV_PORT_PATH), &udpp)) in ugen20_get_port_path() 659 if (udpp.udp_port_level > bufsize) in ugen20_get_port_path() 662 memcpy(buf, udpp.udp_port_no, udpp.udp_port_level); in ugen20_get_port_path() 664 return (udpp.udp_port_level); /* success */ in ugen20_get_port_path()
|
/dragonfly/contrib/dhcpcd/src/ |
H A D | dhcp.c | 1626 struct bootp_pkt *udpp; in dhcp_makeudppacket() local 1630 if ((udpp = calloc(1, sizeof(*ip) + sizeof(*udp) + length)) == NULL) in dhcp_makeudppacket() 1632 ip = &udpp->ip; in dhcp_makeudppacket() 1633 udp = &udpp->udp; in dhcp_makeudppacket() 1644 memcpy(&udpp->bootp, data, length); in dhcp_makeudppacket() 1669 return udpp; in dhcp_makeudppacket() 3492 char *udpp, *uh_sump; in checksums_valid() local 3505 udpp = (char *)ip + ip_hlen; in checksums_valid() 3506 memcpy(&udp, udpp, sizeof(udp)); in checksums_valid() 3516 uh_sump = udpp + offsetof(struct udphdr, uh_sum); in checksums_valid() [all …]
|