Lines Matching refs:sockets
110 while ((igp = sockets[index].inq) != NULL) {
116 del_gram(&sockets[index].inq, igp, TRUE);
122 header_len = (sockets[index].headerlen[TRANSPORT_LVL])(NULL);
129 &igp->igm_target, sockets[index].proto) != 0) {
133 del_gram(&sockets[index].inq, igp, TRUE);
139 if (sockets[index].bind.sin_port != udphp->uh_dport) {
143 sockets[index].bind.sin_port),
145 del_gram(&sockets[index].inq, igp, TRUE);
150 del_gram(&sockets[index].inq, igp, FALSE);
154 add_grams(&sockets[index].inq, ugp);
185 if (sockets[index].bound)
186 udphp->uh_sport = sockets[index].bind.sin_port;
193 udphp->uh_sum = udp_chksum(udphp, &sockets[index].bind.sin_addr,
194 &ogp->igm_saddr.sin_addr, sockets[index].proto);