Lines Matching defs:buf
1893 struct ofpbuf buf;
1896 ofpbuf_use_stack(&buf, &state->keybuf, sizeof (state->keybuf));
1897 odp_flow_key_from_flow(&buf, &flow->f, &flow->m,
1900 *key = ofpbuf_data(&buf);
1901 *key_len = ofpbuf_size(&buf);
1912 struct ofpbuf buf;
1915 ofpbuf_use_stack(&buf, &state->maskbuf,
1917 odp_flow_key_from_mask(&buf, &flow->m, &flow->m,
1920 *mask = ofpbuf_data(&buf);
1921 *mask_len = ofpbuf_size(&buf);
1978 const char *buf = ofpbuf_data(packet);
2001 iov.iov_base = (char *)buf;
2031 iov.iov_base = (char *)buf + (nwritten + nbytes);
2729 struct dpif_upcall *upcall, struct ofpbuf *buf)
2767 ofpbuf_init(buf, buf_size);
2771 odp_flow_key_from_flow(buf, &flow, NULL, flow.in_port.odp_port);
2772 upcall->key = ofpbuf_data(buf);
2773 upcall->key_len = ofpbuf_size(buf);
2776 upcall->userdata = ofpbuf_put(buf, userdata,
2780 data = ofpbuf_put(buf, ofpbuf_data(packet), ofpbuf_size(packet));
2788 struct dpif_upcall *upcall, struct ofpbuf *buf)
2894 action_type, upcall, buf);
2917 struct dpif_upcall *upcall, struct ofpbuf *buf)
2923 error = dpif_solaris_recv__(dpif, handler_id, upcall, buf);