diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-03-24 13:34:05 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-04-01 15:52:19 -0700 |
| commit | 5de1bb5cc9eb5b52c095a02d8afe68bc34ae0523 (patch) | |
| tree | 6b3d8e477c9aae2d457b61fd05d6cea284d3f6af /ofproto | |
| parent | 7feba1acdd806b54ec152d2e93169ab2a295128d (diff) | |
| download | openvswitch-5de1bb5cc9eb5b52c095a02d8afe68bc34ae0523.tar.gz | |
packets: New function snap_compose(); rename compose_packet() for consistency.
The following commit will introduce the first use of snap_compose().
Diffstat (limited to 'ofproto')
| -rw-r--r-- | ofproto/ofproto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index ebdbc682f..186527713 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -1164,8 +1164,8 @@ ofport_run(struct ofproto *ofproto, struct ofport *ofport) struct ccm *ccm; ofpbuf_init(&packet, 0); - ccm = compose_packet(&packet, eth_addr_ccm, ofport->opp.hw_addr, - ETH_TYPE_CFM, sizeof *ccm); + ccm = eth_compose(&packet, eth_addr_ccm, ofport->opp.hw_addr, + ETH_TYPE_CFM, sizeof *ccm); cfm_compose_ccm(ofport->cfm, ccm); ofproto_send_packet(ofproto, ofport->odp_port, 0, &packet); ofpbuf_uninit(&packet); |
