Lines Matching defs:ui
1302 register struct udpiphdr *ui;
1504 ui = mtod(m, struct udpiphdr *);
1505 bzero(ui->ui_x1, sizeof(ui->ui_x1)); /* XXX still needed? */
1506 ui->ui_pr = IPPROTO_UDP;
1507 ui->ui_src = laddr;
1508 ui->ui_dst = faddr;
1509 ui->ui_sport = lport;
1510 ui->ui_dport = fport;
1511 ui->ui_ulen = htons((u_short)len + sizeof(struct udphdr));
1517 ui->ui_sum = in_pseudo(ui->ui_src.s_addr, ui->ui_dst.s_addr,
1522 ui->ui_sum = 0;
1524 ((struct ip *)ui)->ip_len = sizeof (struct udpiphdr) + len;
1525 ((struct ip *)ui)->ip_ttl = inp->inp_ip_ttl; /* XXX */
1526 ((struct ip *)ui)->ip_tos = inp->inp_ip_tos; /* XXX */
1529 KERNEL_DEBUG(DBG_LAYER_OUT_END, ui->ui_dport, ui->ui_sport,
1530 ui->ui_src.s_addr, ui->ui_dst.s_addr, ui->ui_ulen);
1545 if (IN_MULTICAST(ntohl(ui->ui_dst.s_addr)) &&