return 0;
}
-EXPORT_SYMBOL_GPL(inet_send_prepare);
int inet_sendmsg(struct socket *sock, struct msghdr *msg, size_t size)
{
if (prot->splice_eof)
prot->splice_eof(sock);
}
-EXPORT_SYMBOL_GPL(inet_splice_eof);
int inet_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
int flags)
return err;
}
-EXPORT_SYMBOL(inet_sk_rebuild_header);
void inet_sk_set_state(struct sock *sk, int state)
{
/* Convert to network byte order. */
return htonl(msecs);
}
-EXPORT_SYMBOL(inet_current_timestamp);
int inet_recv_error(struct sock *sk, struct msghdr *msg, int len)
{
res += snmp_get_cpu_field(mib, i, offt);
return res;
}
-EXPORT_SYMBOL_GPL(snmp_fold_field);
#if BITS_PER_LONG==32
return v;
}
-EXPORT_SYMBOL_GPL(snmp_get_cpu_field64);
u64 snmp_fold_field64(void __percpu *mib, int offt, size_t syncp_offset)
{
}
return res;
}
-EXPORT_SYMBOL_GPL(snmp_fold_field64);
#endif
#ifdef CONFIG_IP_MULTICAST
rt_fibinfo_free(&nhc->nhc_rth_input);
free_nh_exceptions(nhc);
}
-EXPORT_SYMBOL_GPL(fib_nh_common_release);
void fib_nh_release(struct net *net, struct fib_nh *fib_nh)
{
nhc->nhc_pcpu_rth_output = NULL;
return err;
}
-EXPORT_SYMBOL_GPL(fib_nh_common_init);
int fib_nh_init(struct net *net, struct fib_nh *nh,
struct fib_config *cfg, int nh_weight,
nla_put_failure:
return -EMSGSIZE;
}
-EXPORT_SYMBOL_GPL(fib_nexthop_info);
#if IS_ENABLED(CONFIG_IP_ROUTE_MULTIPATH) || IS_ENABLED(CONFIG_IPV6)
int fib_add_nexthop(struct sk_buff *skb, const struct fib_nh_common *nhc,
nla_put_failure:
return -EMSGSIZE;
}
-EXPORT_SYMBOL_GPL(fib_add_nexthop);
#endif
#ifdef CONFIG_IP_ROUTE_MULTIPATH
/* Send it out. */
return ip_local_out(net, skb->sk, skb);
}
-EXPORT_SYMBOL_GPL(ip_build_and_send_pkt);
static int ip_finish_output2(struct net *net, struct sock *sk, struct sk_buff *skb)
{
bh_unlock_sock(sk);
dst_release(odst);
}
-EXPORT_SYMBOL_GPL(ipv4_sk_update_pmtu);
void ipv4_redirect(struct sk_buff *skb, struct net *net,
int oif, u8 protocol)
ip_rt_put(rt);
}
}
-EXPORT_SYMBOL_GPL(ipv4_sk_redirect);
INDIRECT_CALLABLE_SCOPE struct dst_entry *ipv4_dst_check(struct dst_entry *dst,
u32 cookie)
}
return new_rt;
}
-EXPORT_SYMBOL(rt_dst_clone);
/* called in rcu_read_lock() section */
enum skb_drop_reason