intip6_push_pending_frames(struct sock *sk){structsk_buff*skb, *tmp_skb;structsk_buff**tail_skb;structin6_addrfinal_dst_buf, *final_dst= &final_dst_buf;structinet_sock*inet=inet_sk(sk);structipv6_pinfo*np=inet6_sk(sk);structnet*net=sock_net(sk);structipv6hdr*hdr;structipv6_t...
NET_StringToSockaddr("0.0.0.0", (struct sockaddr_storage *)&address);// Sys_Error ("NET_Init: getsockname:", strerror(qerrno));}SockadrToNetadr(&address, out);if(!*(int*)out->ip)//socket was set to auto*(int*)out->ip = *(int*)adr.ip;//change it to what the machine says...
voidNET_SendPacket(netsrc_tsock,intlength,void*data,netadr_tto){intret;structsockaddr_inaddr;intnet_socket;if(to.type == NA_LOOPBACK) { NET_SendLoopPacket (sock, length, data, to);return; } net_socket = ip_sockets[sock];if(net_socket ==-1)return;NetadrToSockadr(&to, &addr); re...
voidNET_SendPacket(netsrc_tsock,intlength,void*data,netadr_tto){intret;structsockaddr_inaddr;intnet_socket;if(to.type == NA_LOOPBACK) { NET_SendLoopPacket (sock, length, data, to);return; } net_socket = ip_sockets[sock];if(net_socket ==-1)return;NetadrToSockadr(&to, &addr); re...