Lines Matching refs:cmd
956 int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in inet_ioctl() argument
965 switch (cmd) { in inet_ioctl()
970 err = ip_rt_ioctl(net, cmd, &rt); in inet_ioctl()
978 err = arp_ioctl(net, cmd, (void __user *)arg); in inet_ioctl()
987 err = devinet_ioctl(net, cmd, &ifr); in inet_ioctl()
1000 err = devinet_ioctl(net, cmd, &ifr); in inet_ioctl()
1004 err = sk_ioctl(sk, cmd, (void __user *)arg); in inet_ioctl()
1014 static int inet_compat_routing_ioctl(struct sock *sk, unsigned int cmd, in inet_compat_routing_ioctl() argument
1031 return ip_rt_ioctl(sock_net(sk), cmd, &rt); in inet_compat_routing_ioctl()
1034 static int inet_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in inet_compat_ioctl() argument
1039 switch (cmd) { in inet_compat_ioctl()
1042 return inet_compat_routing_ioctl(sk, cmd, argp); in inet_compat_ioctl()
1046 return sk->sk_prot->compat_ioctl(sk, cmd, arg); in inet_compat_ioctl()