Lines Matching refs:cmd
126 static int ifconf(u_long cmd, user_addr_t ifrp, int * ret_space);
942 link_rtrequest(int cmd, struct rtentry *rt, struct sockaddr *sa)
948 if (cmd != RTM_ADD || ((ifa = rt->rt_ifa) == 0) ||
955 ifa->ifa_rtrequest(cmd, rt, sa);
1153 ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p)
1163 switch (cmd) {
1173 return (ifconf(cmd, user_addr, &ifc->ifc_len));
1178 switch (cmd) {
1184 return ((cmd == SIOCIFCREATE) ?
1204 switch (cmd) {
1245 cmd, data);
1301 cmd, data);
1334 cmd, data);
1383 if (cmd == SIOCADDMULTI) {
1424 cmd, data);
1441 cmd, data);
1445 cmd, data);
1452 int ocmd = cmd;
1454 switch (cmd) {
1473 cmd = SIOCGIFADDR;
1477 cmd = SIOCGIFDSTADDR;
1481 cmd = SIOCGIFBRDADDR;
1485 cmd = SIOCGIFNETMASK;
1488 error = ((*so->so_proto->pr_usrreqs->pru_control)(so, cmd,
1501 if (cmd == SIOCSIFKPI) {
1509 cmd, data);
1517 ifioctllocked(struct socket *so, u_long cmd, caddr_t data, struct proc *p)
1522 error = ifioctl(so, cmd, data, p);
1591 ifconf(u_long cmd, user_addr_t ifrp, int * ret_space)
1632 if (cmd == OSIOCGIFCONF) {