Lines Matching defs:connection
219 enum plip_connection_state connection;
376 f = connection_state_table[nl->connection];
417 if (nl->connection == PLIP_CN_SEND) {
435 } else if (nl->connection == PLIP_CN_RECEIVE) {
470 nl->connection = PLIP_CN_ERROR;
612 nl->connection = PLIP_CN_SEND;
682 /* Close the connection. */
686 nl->connection = PLIP_CN_SEND;
693 nl->connection = PLIP_CN_NONE;
776 if (nl->connection == PLIP_CN_RECEIVE) {
787 if (nl->connection == PLIP_CN_RECEIVE) {
849 /* Close the connection */
854 nl->connection = PLIP_CN_CLOSING;
869 if (nl->connection == PLIP_CN_CLOSING) {
870 nl->connection = PLIP_CN_NONE;
892 nl->connection = PLIP_CN_NONE;
931 switch (nl->connection) {
937 nl->connection = PLIP_CN_RECEIVE;
988 if (nl->connection == PLIP_CN_NONE) {
989 nl->connection = PLIP_CN_SEND;
1080 nl->connection = PLIP_CN_NONE;
1133 nl->connection = PLIP_CN_NONE;
1164 if (nl->connection != PLIP_CN_NONE) {