Home
last modified time | relevance | path

Searched refs:act (Results 1 – 25 of 1249) sorted by relevance

12345678910>>...50

/third_party/libnl/lib/route/
Dact.c31 struct rtnl_act * rtnl_act_next(struct rtnl_act *act) in rtnl_act_next() argument
33 if (act == NULL) { in rtnl_act_next()
37 return act->a_next; in rtnl_act_next()
63 int rtnl_act_remove(struct rtnl_act **head, struct rtnl_act *act) in rtnl_act_remove() argument
68 if (a == act) in rtnl_act_remove()
79 static int rtnl_act_fill_one(struct nl_msg *msg, struct rtnl_act *act, int order) in rtnl_act_fill_one() argument
81 struct rtnl_tc *tc = TC_CAST(act); in rtnl_act_fill_one()
116 int rtnl_act_fill(struct nl_msg *msg, int attrtype, struct rtnl_act *act) in rtnl_act_fill() argument
118 struct rtnl_act *p_act = act; in rtnl_act_fill()
137 static int rtnl_act_msg_build(struct rtnl_act *act, int type, int flags, in rtnl_act_msg_build() argument
[all …]
/third_party/libnl/include/netlink/route/act/
Dvlan.h23 extern int rtnl_vlan_set_mode(struct rtnl_act *act, int mode);
24 extern int rtnl_vlan_get_mode(struct rtnl_act *act, int *out_mode);
25 extern int rtnl_vlan_set_action(struct rtnl_act *act, int action);
26 extern int rtnl_vlan_get_action(struct rtnl_act *act, int *out_action);
27 extern int rtnl_vlan_set_protocol(struct rtnl_act *act, uint16_t protocol);
28 extern int rtnl_vlan_get_protocol(struct rtnl_act *act, uint16_t *out_protocol);
29 extern int rtnl_vlan_set_vlan_id(struct rtnl_act *act, uint16_t vid);
30 extern int rtnl_vlan_get_vlan_id(struct rtnl_act *act, uint16_t *out_vid);
31 extern int rtnl_vlan_set_vlan_prio(struct rtnl_act *act, uint8_t prio);
32 extern int rtnl_vlan_get_vlan_prio(struct rtnl_act *act, uint8_t *out_prio);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D8-19.c39 struct sigaction act; in main() local
41 act.sa_handler = SIGUSR1_handler; in main()
42 act.sa_flags = 0; in main()
43 sigemptyset(&act.sa_mask); in main()
44 sigaddset(&act.sa_mask, SIGUSR2); in main()
46 if (sigaction(SIGUSR1, &act, 0) == -1) { in main()
52 act.sa_handler = SIGUSR2_handler; in main()
53 act.sa_flags = 0; in main()
54 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGUSR2, &act, 0) == -1) { in main()
D8-5.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGCONT_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGCHLD); in main()
47 if (sigaction(SIGCONT, &act, 0) == -1) { in main()
53 act.sa_handler = SIGCHLD_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGCHLD, &act, 0) == -1) { in main()
D8-11.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGQUIT_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGPIPE); in main()
47 if (sigaction(SIGQUIT, &act, 0) == -1) { in main()
53 act.sa_handler = SIGPIPE_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGPIPE, &act, 0) == -1) { in main()
D8-1.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGABRT_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGXFSZ); in main()
47 if (sigaction(SIGABRT, &act, 0) == -1) { in main()
53 act.sa_handler = SIGXFSZ_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGXFSZ, &act, 0) == -1) { in main()
D8-4.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGCHLD_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGBUS); in main()
47 if (sigaction(SIGCHLD, &act, 0) == -1) { in main()
53 act.sa_handler = SIGBUS_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGBUS, &act, 0) == -1) { in main()
D8-22.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGTRAP_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGSYS); in main()
47 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
53 act.sa_handler = SIGSYS_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGSYS, &act, 0) == -1) { in main()
D8-18.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGUSR2_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGUSR1); in main()
47 if (sigaction(SIGUSR2, &act, 0) == -1) { in main()
53 act.sa_handler = SIGUSR1_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGUSR1, &act, 0) == -1) { in main()
D8-8.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGILL_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGHUP); in main()
47 if (sigaction(SIGILL, &act, 0) == -1) { in main()
53 act.sa_handler = SIGHUP_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
D8-9.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGINT_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGILL); in main()
47 if (sigaction(SIGINT, &act, 0) == -1) { in main()
53 act.sa_handler = SIGILL_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGILL, &act, 0) == -1) { in main()
D8-20.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGPROF_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGUSR2); in main()
47 if (sigaction(SIGPROF, &act, 0) == -1) { in main()
53 act.sa_handler = SIGUSR2_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGUSR2, &act, 0) == -1) { in main()
D8-12.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGSEGV_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGQUIT); in main()
47 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
53 act.sa_handler = SIGQUIT_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGQUIT, &act, 0) == -1) { in main()
D8-13.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGTERM_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGSEGV); in main()
47 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
53 act.sa_handler = SIGSEGV_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
D8-16.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGTTOU_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGTTIN); in main()
47 if (sigaction(SIGTTOU, &act, 0) == -1) { in main()
53 act.sa_handler = SIGTTIN_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGTTIN, &act, 0) == -1) { in main()
D8-14.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGTSTP_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGTERM); in main()
47 if (sigaction(SIGTSTP, &act, 0) == -1) { in main()
53 act.sa_handler = SIGTERM_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGTERM, &act, 0) == -1) { in main()
D8-15.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGTTIN_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGTSTP); in main()
47 if (sigaction(SIGTTIN, &act, 0) == -1) { in main()
53 act.sa_handler = SIGTSTP_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGTSTP, &act, 0) == -1) { in main()
D8-26.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGXFSZ_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGXCPU); in main()
47 if (sigaction(SIGXFSZ, &act, 0) == -1) { in main()
53 act.sa_handler = SIGXCPU_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGXCPU, &act, 0) == -1) { in main()
D8-7.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGHUP_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGFPE); in main()
47 if (sigaction(SIGHUP, &act, 0) == -1) { in main()
53 act.sa_handler = SIGFPE_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGFPE, &act, 0) == -1) { in main()
D8-10.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGPIPE_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGINT); in main()
47 if (sigaction(SIGPIPE, &act, 0) == -1) { in main()
53 act.sa_handler = SIGINT_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGINT, &act, 0) == -1) { in main()
D8-6.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGFPE_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGCONT); in main()
47 if (sigaction(SIGFPE, &act, 0) == -1) { in main()
53 act.sa_handler = SIGCONT_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGCONT, &act, 0) == -1) { in main()
D8-24.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGVTALRM_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGURG); in main()
47 if (sigaction(SIGVTALRM, &act, 0) == -1) { in main()
53 act.sa_handler = SIGURG_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGURG, &act, 0) == -1) { in main()
D8-21.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGSYS_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGPROF); in main()
47 if (sigaction(SIGSYS, &act, 0) == -1) { in main()
53 act.sa_handler = SIGPROF_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGPROF, &act, 0) == -1) { in main()
D8-23.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGURG_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGTRAP); in main()
47 if (sigaction(SIGURG, &act, 0) == -1) { in main()
53 act.sa_handler = SIGTRAP_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGTRAP, &act, 0) == -1) { in main()
D8-17.c41 struct sigaction act; in main() local
43 act.sa_handler = SIGUSR1_handler; in main()
44 act.sa_flags = 0; in main()
45 sigemptyset(&act.sa_mask); in main()
46 sigaddset(&act.sa_mask, SIGTTOU); in main()
47 if (sigaction(SIGUSR1, &act, 0) == -1) { in main()
53 act.sa_handler = SIGTTOU_handler; in main()
54 act.sa_flags = 0; in main()
55 sigemptyset(&act.sa_mask); in main()
56 if (sigaction(SIGTTOU, &act, 0) == -1) { in main()

12345678910>>...50