diff options
Diffstat (limited to 'include/net/ip.h')
-rw-r--r-- | include/net/ip.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index b53d65f24f7b..83e0619f59d0 100644 --- a/include/net/ip.h +++ b/include/net/ip.h | |||
@@ -141,23 +141,6 @@ static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) | |||
141 | extern int ip4_datagram_connect(struct sock *sk, | 141 | extern int ip4_datagram_connect(struct sock *sk, |
142 | struct sockaddr *uaddr, int addr_len); | 142 | struct sockaddr *uaddr, int addr_len); |
143 | 143 | ||
144 | /* | ||
145 | * Map a multicast IP onto multicast MAC for type Token Ring. | ||
146 | * This conforms to RFC1469 Option 2 Multicasting i.e. | ||
147 | * using a functional address to transmit / receive | ||
148 | * multicast packets. | ||
149 | */ | ||
150 | |||
151 | static inline void ip_tr_mc_map(__be32 addr, char *buf) | ||
152 | { | ||
153 | buf[0]=0xC0; | ||
154 | buf[1]=0x00; | ||
155 | buf[2]=0x00; | ||
156 | buf[3]=0x04; | ||
157 | buf[4]=0x00; | ||
158 | buf[5]=0x00; | ||
159 | } | ||
160 | |||
161 | struct ip_reply_arg { | 144 | struct ip_reply_arg { |
162 | struct kvec iov[1]; | 145 | struct kvec iov[1]; |
163 | int flags; | 146 | int flags; |
@@ -222,9 +205,6 @@ static inline int inet_is_reserved_local_port(int port) | |||
222 | 205 | ||
223 | extern int sysctl_ip_nonlocal_bind; | 206 | extern int sysctl_ip_nonlocal_bind; |
224 | 207 | ||
225 | extern struct ctl_path net_core_path[]; | ||
226 | extern struct ctl_path net_ipv4_ctl_path[]; | ||
227 | |||
228 | /* From inetpeer.c */ | 208 | /* From inetpeer.c */ |
229 | extern int inet_peer_threshold; | 209 | extern int inet_peer_threshold; |
230 | extern int inet_peer_minttl; | 210 | extern int inet_peer_minttl; |