* Send linkstate to upstream node. */
| 631 | * Send linkstate to upstream node. |
| 632 | */ |
| 633 | static void |
| 634 | cisco_notify(sc_p sc, uint32_t cmd) |
| 635 | { |
| 636 | struct ng_mesg *msg; |
| 637 | int dummy_error = 0; |
| 638 | |
| 639 | if (sc->inet.hook == NULL) /* nothing to notify */ |
| 640 | return; |
| 641 | |
| 642 | NG_MKMESSAGE(msg, NGM_FLOW_COOKIE, cmd, 0, M_NOWAIT); |
| 643 | if (msg != NULL) |
| 644 | NG_SEND_MSG_HOOK(dummy_error, sc->node, msg, sc->inet.hook, 0); |
| 645 | } |
no outgoing calls
no test coverage detected