Home
last modified time | relevance | path

Searched refs:br_ioctl_hook (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/
H A Dsocket.c1028 static int (*br_ioctl_hook) (struct net *, unsigned int cmd, void __user *arg); variable
1033 br_ioctl_hook = hook; in brioctl_set()
1148 if (!br_ioctl_hook) in sock_ioctl()
1152 if (br_ioctl_hook) in sock_ioctl()
1153 err = br_ioctl_hook(net, cmd, argp); in sock_ioctl()
/kernel/linux/linux-6.6/net/
H A Dsocket.c1171 static int (*br_ioctl_hook)(struct net *net, struct net_bridge *br, variable
1180 br_ioctl_hook = hook; in brioctl_set()
1190 if (!br_ioctl_hook) in br_ioctl_call()
1194 if (br_ioctl_hook) in br_ioctl_call()
1195 err = br_ioctl_hook(net, br, cmd, ifr, uarg); in br_ioctl_call()

Completed in 10 milliseconds