Release 4.17 include/linux/mroute.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __LINUX_MROUTE_H
#define __LINUX_MROUTE_H
#include <linux/in.h>
#include <linux/pim.h>
#include <net/fib_rules.h>
#include <net/fib_notifier.h>
#include <uapi/linux/mroute.h>
#include <linux/mroute_base.h>
#ifdef CONFIG_IP_MROUTE
static inline int ip_mroute_opt(int opt)
{
return opt >= MRT_BASE && opt <= MRT_MAX;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Pavel Emelyanov | 18 | 94.74% | 1 | 50.00% |
Nicolas Dichtel | 1 | 5.26% | 1 | 50.00% |
Total | 19 | 100.00% | 2 | 100.00% |
int ip_mroute_setsockopt(struct sock *, int, char __user *, unsigned int);
int ip_mroute_getsockopt(struct sock *, int, char __user *, int __user *);
int ipmr_ioctl(struct sock *sk, int cmd, void __user *arg);
int ipmr_compat_ioctl(struct sock *sk, unsigned int cmd, void __user *arg);
int ip_mr_init(void);
bool ipmr_rule_default(const struct fib_rule *rule);
#else
static inline int ip_mroute_setsockopt(struct sock *sock, int optname,
char __user *optval, unsigned int optlen)
{
return -ENOPROTOOPT;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Hideaki Yoshifuji / 吉藤英明 | 27 | 96.43% | 1 | 50.00% |
David S. Miller | 1 | 3.57% | 1 | 50.00% |
Total | 28 | 100.00% | 2 | 100.00% |
static inline int ip_mroute_getsockopt(struct sock *sock, int optname,
char __user *optval, int __user *optlen)
{
return -ENOPROTOOPT;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Hideaki Yoshifuji / 吉藤英明 | 29 | 100.00% | 1 | 100.00% |
Total | 29 | 100.00% | 1 | 100.00% |
static inline int ipmr_ioctl(struct sock *sk, int cmd, void __user *arg)
{
return -ENOIOCTLCMD;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Hideaki Yoshifuji / 吉藤英明 | 24 | 100.00% | 1 | 100.00% |
Total | 24 | 100.00% | 1 | 100.00% |
static inline int ip_mr_init(void)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Hideaki Yoshifuji / 吉藤英明 | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
static inline int ip_mroute_opt(int opt)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Nikolay Aleksandrov | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
static inline bool ipmr_rule_default(const struct fib_rule *rule)
{
return true;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Yotam Gigi | 16 | 100.00% | 1 | 100.00% |
Total | 16 | 100.00% | 1 | 100.00% |
#endif
#define VIFF_STATIC 0x8000
struct mfc_cache_cmp_arg {
__be32 mfc_mcastgrp;
__be32 mfc_origin;
};
/**
* struct mfc_cache - multicast routing entries
* @_c: Common multicast routing information; has to be first [for casting]
* @mfc_mcastgrp: destination multicast group address
* @mfc_origin: source address
* @cmparg: used for rhashtable comparisons
*/
struct mfc_cache {
struct mr_mfc _c;
union {
struct {
__be32 mfc_mcastgrp;
__be32 mfc_origin;
};
struct mfc_cache_cmp_arg cmparg;
};
};
struct rtmsg;
int ipmr_get_route(struct net *net, struct sk_buff *skb,
__be32 saddr, __be32 daddr,
struct rtmsg *rtm, u32 portid);
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Hideaki Yoshifuji / 吉藤英明 | 98 | 29.25% | 2 | 7.41% |
Linus Torvalds (pre-git) | 95 | 28.36% | 6 | 22.22% |
Nikolay Aleksandrov | 38 | 11.34% | 3 | 11.11% |
Yotam Gigi | 32 | 9.55% | 2 | 7.41% |
Pavel Emelyanov | 21 | 6.27% | 1 | 3.70% |
Eric W. Biedermann | 18 | 5.37% | 1 | 3.70% |
David S. Miller | 8 | 2.39% | 2 | 7.41% |
Al Viro | 8 | 2.39% | 3 | 11.11% |
Yuval Mintz | 6 | 1.79% | 2 | 7.41% |
Benjamin Thery | 5 | 1.49% | 1 | 3.70% |
David Howells | 3 | 0.90% | 1 | 3.70% |
Greg Kroah-Hartman | 1 | 0.30% | 1 | 3.70% |
Nicolas Dichtel | 1 | 0.30% | 1 | 3.70% |
Wang Chen | 1 | 0.30% | 1 | 3.70% |
Total | 335 | 100.00% | 27 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.