af_inet.c (d94e5fcbf1420366dcb4102bafe04dbcfc0d0d4b) | af_inet.c (ec1b4cf74c81bfd0fbe5bf62bafc86c45917e72f) |
---|---|
1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * PF_INET protocol family socket handler. 7 * 8 * Authors: Ross Biro --- 917 unchanged lines hidden (view full) --- 926 .mmap = sock_no_mmap, 927 .sendpage = inet_sendpage, 928#ifdef CONFIG_COMPAT 929 .compat_setsockopt = compat_sock_common_setsockopt, 930 .compat_getsockopt = compat_sock_common_getsockopt, 931#endif 932}; 933 | 1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * PF_INET protocol family socket handler. 7 * 8 * Authors: Ross Biro --- 917 unchanged lines hidden (view full) --- 926 .mmap = sock_no_mmap, 927 .sendpage = inet_sendpage, 928#ifdef CONFIG_COMPAT 929 .compat_setsockopt = compat_sock_common_setsockopt, 930 .compat_getsockopt = compat_sock_common_getsockopt, 931#endif 932}; 933 |
934static struct net_proto_family inet_family_ops = { | 934static const struct net_proto_family inet_family_ops = { |
935 .family = PF_INET, 936 .create = inet_create, 937 .owner = THIS_MODULE, 938}; 939 940/* Upon startup we insert all the elements in inetsw_array[] into 941 * the linked list inetsw. 942 */ --- 751 unchanged lines hidden --- | 935 .family = PF_INET, 936 .create = inet_create, 937 .owner = THIS_MODULE, 938}; 939 940/* Upon startup we insert all the elements in inetsw_array[] into 941 * the linked list inetsw. 942 */ --- 751 unchanged lines hidden --- |