Home
last modified time | relevance | path

Searched refs:prog32 (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/common/inet/sockmods/
H A Dsockmod_pfp.c1351 struct bpf_program32 prog32; in pfp_setsocket_sockopt() local
1353 bcopy(optval, &prog32, sizeof (prog32)); in pfp_setsocket_sockopt()
1354 prog.bf_len = prog32.bf_len; in pfp_setsocket_sockopt()
1355 prog.bf_insns = (void *)(uint64_t)prog32.bf_insns; in pfp_setsocket_sockopt()
/titanic_44/usr/src/uts/common/io/bpf/
H A Dbpf.c1121 struct bpf_program32 prog32; in bpfioctl() local
1123 if (ddi_copyin((void *)addr, &prog32, sizeof (prog), mode)) { in bpfioctl()
1127 prog.bf_len = prog32.bf_len; in bpfioctl()
1128 prog.bf_insns = (void *)(uint64_t)prog32.bf_insns; in bpfioctl()