Lines Matching defs:connection
213 enum plip_connection_state connection;
369 f = connection_state_table[nl->connection];
410 if (nl->connection == PLIP_CN_SEND) {
427 } else if (nl->connection == PLIP_CN_RECEIVE) {
462 nl->connection = PLIP_CN_ERROR;
606 nl->connection = PLIP_CN_SEND;
679 /* Close the connection. */
683 nl->connection = PLIP_CN_SEND;
690 nl->connection = PLIP_CN_NONE;
775 if (nl->connection == PLIP_CN_RECEIVE) {
786 if (nl->connection == PLIP_CN_RECEIVE) {
852 /* Close the connection */
857 nl->connection = PLIP_CN_CLOSING;
872 if (nl->connection == PLIP_CN_CLOSING) {
873 nl->connection = PLIP_CN_NONE;
895 nl->connection = PLIP_CN_NONE;
935 switch (nl->connection) {
942 nl->connection = PLIP_CN_RECEIVE;
992 if (nl->connection == PLIP_CN_NONE) {
993 nl->connection = PLIP_CN_SEND;
1086 nl->connection = PLIP_CN_NONE;
1140 nl->connection = PLIP_CN_NONE;
1171 if (nl->connection != PLIP_CN_NONE) {