Home
last modified time | relevance | path

Searched refs:err (Results 1 – 5 of 5) sorted by relevance

/samples/pktgen/
Dfunctions.sh11 function err() { function
68 err 3 "proc file:$proc_ctrl does not exists (dev added to thread?)"
71 err 4 "proc file:$proc_ctrl not writable, not root?!"
88 err 5 "Write error($status) occurred cmd: \"$@ > $proc_ctrl\""
107 err 5 "Write error($status) occurred cmd: \"$1 > $PGDEV\""
124 err 4 "cannot perform sudo run of $0"
Dparameters.sh64 err 2 "[ERROR] Unknown parameters!!!"
83 err 2 "Please specify output device"
Dpktgen_sample01_simple.sh20 [ -z "$DST_MAC" ] && usage && err 2 "Must specify -m dst_mac"
/samples/mic/mpssd/
Dmpssd.c233 int fd, err; in tun_alloc() local
249 err = ioctl(fd, TUNSETIFF, (void *)&ifr); in tun_alloc()
250 if (err < 0) { in tun_alloc()
254 return err; in tun_alloc()
259 err = ioctl(fd, TUNSETOFFLOAD, offload); in tun_alloc()
260 if (err < 0) { in tun_alloc()
264 return err; in tun_alloc()
478 int err; in wait_for_card_driver() local
492 err = poll(&pollfd, 1, -1); in wait_for_card_driver()
493 if (err < 0) { in wait_for_card_driver()
[all …]
/samples/bpf/
Dbpf_load.c37 int ind = atoi(event), err; in populate_prog_array() local
39 err = bpf_update_elem(prog_array_fd, &ind, &prog_fd, BPF_ANY); in populate_prog_array()
40 if (err < 0) { in populate_prog_array()
54 int fd, efd, err, id; in load_and_attach() local
108 err = system(buf); in load_and_attach()
109 if (err < 0) { in load_and_attach()
127 err = read(efd, buf, sizeof(buf)); in load_and_attach()
128 if (err < 0 || err >= sizeof(buf)) { in load_and_attach()
135 buf[err] = 0; in load_and_attach()