./linux/net/socket.c

84d83
< #include <net/utp.h>	
250d248
< 
609d606
< 	     type != SOCK_UTP_DGRAM &&	

./linux/net/netsyms.c

40d39
< #include <net/utp.h>	
287d285
< EXPORT_SYMBOL(utp_good_socknum);
289d286
< EXPORT_SYMBOL(utp_hash);

./linux/net/Makefile

178,179c178
< L_OBJS	     := $(SOCK) protocols.o ./utp/utp_open.o ./utp/utp_close.o ./utp/utp_usrreq.o $(join $(SUB_DIRS),$(SUB_DIRS:%=/%.o))
< 
---
> L_OBJS	     := $(SOCK) protocols.o $(join $(SUB_DIRS),$(SUB_DIRS:%=/%.o))

./linux/netp/ipv4/af_inet.c

96d95
< #include <net/utp.h>	
130d128
< extern int utp_get_info(char *, char **, off_t, int, int);
263c261
< int inet_autobind(struct sock *sk)
---
> static int inet_autobind(struct sock *sk)
366,374d363
< 	case SOCK_UTP_DGRAM:
< 		if (protocol && protocol != IPPROTO_UTP)
< 			goto free_and_noproto;
< 		protocol = IPPROTO_UTP;
< 		sk->no_check = UTP_NO_CHECK;
< 		sk->ip_pmtudisc = IP_PMTUDISC_DONT;
< 		prot=&utp_prot;
< 		sock->ops = &inet_dgram_ops;
< 		break;
549d537
< 	{
551d538
< 	}
1050,1055d1036
< static struct proc_dir_entry proc_net_utp = {
< 	PROC_NET_UTP, 3, "utp",
< 	S_IFREG | S_IRUGO, 1, 0, 0,
< 	0, &proc_net_inode_operations,
< 	utp_get_info
< };
1167d1147
< 	proc_net_register(&proc_net_utp);

./linux/netp/ipv4/icmp.c

271d270
< #include <net/utp.h>	
980d978
< extern struct sock *utp_v4_lookup(u32 saddr, u16 sport, u32 daddr, u16 dport, int dif);
1009,1022d1006
< 			if (!sk) return 0;
< 			if (sk->saddr != iph->saddr && inet_addr_type(iph->saddr) != RTN_LOCAL)
< 				return 0;
< 			/*
< 			 * This packet may have come from us.
< 			 * Assume it did.
< 			 */
< 			return 1;
< 			}
< 		case IPPROTO_UTP:
< 			{
< 			struct utphdr *uth = (struct utphdr *)(((unsigned char *)iph)+(iph->ihl<<2));
< 
< 			sk = utp_v4_lookup(iph->daddr, uth->dest, iph->saddr, uth->source, skb->dev->ifindex);

./linux/netp/ipv4/ip_fw.c

84d83
< #include <net/utp.h>	
593d591
< 	struct utphdr		*utp=(struct utphdr *)((__u32 *)ip+ip->ihl);
642d639
< 		case IPPROTO_UTP:
689,695d685
< 		case IPPROTO_UTP:
< 			dprintf("UTP ");
< 			if (!offset) {
< 				src_port=ntohs(utp->source);
< 				dst_port=ntohs(utp->dest);
< 			}
< 			break;
713d702
< 		 || ip->protocol==IPPROTO_UTP 
1247d1235
< 		    && fwuser->ipfw.fw_proto != IPPROTO_UTP

./linux/netp/ipv4/ip_output.c

68d67
< #include <net/utp.h>		

./linux/netp/ipv4/ipconfig.c
35d34
< #include <net/utp.h> 

./linux/netp/ipv4/protocol.c

45d44
< #include <net/utp.h>
97,110d95
< 
< static struct inet_protocol utp_protocol = 
< {
< 	utp_rcv,		/* UTP handler		*/
< 	utp_err,		/* UTP error control	*/
< 	IPPROTO_PREVIOUS,	/* next			*/
< 	IPPROTO_UTP,		/* protocol ID		*/
< 	0,			/* copy			*/
< 	NULL,			/* data			*/
< 	"UTP"			/* name			*/
< };
< 
< #undef  IPPROTO_PREVIOUS
< #define IPPROTO_PREVIOUS &utp_protocol

./linux/netp/ipv4/proc.c

49d48
< #include <net/utp.h>	
237,241d235
< int utp_get_info(char *buffer, char **start, off_t offset, int length, int dummy)
< {
< 	return get__netinfo(&utp_prot, buffer,1, start, offset, length);
< }
< 
261,262d254
< 	len += sprintf(buffer+len,"UTP: inuse %d highest %d\n",
< 		       utp_prot.inuse, utp_prot.highestinuse);
288d279
< 	extern struct utp_mib utp_statistics;
340,343d330
< 	len += sprintf (buffer + len,
< 		"Utp: InDatagrams NoPorts InErrors OutDatagrams\nUtp: %lu %lu %lu %lu\n",
< 		    utp_statistics.UtpInDatagrams, utp_statistics.UtpNoPorts,
< 		    utp_statistics.UtpInErrors, utp_statistics.UtpOutDatagrams);	    
./linux/include/net/snmp.h

170,177d169
< struct utp_mib
< {
<  	unsigned long	UtpInDatagrams;
<  	unsigned long	UtpNoPorts;
<  	unsigned long	UtpInErrors;
<  	unsigned long	UtpOutDatagrams;
< };
< 

./linux/include/linux/in.h
33d32
<   IPPROTO_UTP = 19,		/* Micro T Protocol			*/

./linux/include/linux/ip_fw.h

31d30
< #include <linux/utp/utp.h>	

./linux/include/linux/proc_fs.h
126d124
< 		struct utphdr fwp_utph;		/* UTP header */
91d90
< 	PROC_NET_UTP,

./linux/include/linux/skbuff.h

52d51
< 		struct utphdr	*uth;

./linux/include/linux/socket.h

138d137
< #define SOCK_UTP_DGRAM	6		/* utp datagram  socket		*/
237d235
< #define SOL_UTP		19

