bw_upcall
compute_bw_meter_flags(struct bw_upcall *req)
add_bw_upcall(struct mfctable *mfct, struct bw_upcall *req)
del_bw_upcall(struct mfctable *mfct, struct bw_upcall *req)
struct bw_upcall *u;
u = malloc(sizeof(struct bw_upcall), M_MRTABLE, M_NOWAIT | M_ZERO);
struct bw_upcall *bu;
m_copyback(m, len, sizeof(struct bw_upcall), (caddr_t)bu);
len += sizeof(struct bw_upcall);
static int add_bw_upcall(struct mfctable *, struct bw_upcall *);
static int del_bw_upcall(struct mfctable *, struct bw_upcall *);
struct bw_upcall bw_upcall;
error = sooptcopyin(sopt, &bw_upcall, sizeof bw_upcall,
sizeof bw_upcall);
error = add_bw_upcall(mfct, &bw_upcall);
error = del_bw_upcall(mfct, &bw_upcall);
struct bw_upcall *bu;