Lines Matching refs:packet
38 #include <netpacket/packet.h>
145 /* Send the packet */
1969 struct ofpbuf *packet, struct flow_tnl *tnl, bool may_steal)
1978 const char *buf = ofpbuf_data(packet);
1979 size_t buflen = ofpbuf_size(packet);
1989 ofpbuf_delete(packet);
2171 dp_solaris_execute_cb(void *aux_, struct ofpbuf *packet,
2193 * If in_port number is OFPP_NONE, this means this packet out
2198 * added to the bridge yet, directly drop the packet.
2211 ofpbuf_delete(packet);
2224 ofpbuf_delete(packet);
2238 ofpbuf_delete(packet);
2244 (void) dpif_solaris_port_output(dpif, port_no, packet, tnl,
2250 * We'll send the packet back to the kernel and it'll be classified
2278 ofpbuf_delete(packet);
2285 (void) dpif_solaris_port_output(dpif, pin, packet, tnl,
2310 if (ofpbuf_size(execute->packet) < ETH_HEADER_LEN ||
2311 ofpbuf_size(execute->packet) > UINT16_MAX) {
2313 ofpbuf_size(execute->packet));
2317 odp_execute_actions(dpif, execute->packet, false, md, execute->actions,
2728 struct ofpbuf *packet, struct pkt_metadata *md, uint16_t action_type,
2738 if ((buf_size = ofpbuf_size(packet)) < ETH_HEADER_LEN) {
2744 flow_extract(packet, md, &flow);
2766 buf_size += ofpbuf_size(packet);
2780 data = ofpbuf_put(buf, ofpbuf_data(packet), ofpbuf_size(packet));
2781 ofpbuf_use_stub(&upcall->packet, data, ofpbuf_size(packet));
2782 ofpbuf_set_size(&upcall->packet, ofpbuf_size(packet));